Overview

Packages

  • JAMA
  • None
  • PHP
  • PHPExcel
    • CachedObjectStorage
    • Calculation
    • Cell
    • Chart
      • Renderer
    • Reader
      • Excel2007
      • Excel5
    • RichText
    • Settings
    • Shared
      • Escher
      • OLE
      • Trend
      • ZipArchive
    • Style
    • Worksheet
      • Drawing
    • Writer
      • 2007
      • CSV
      • Excel2007
      • Excel5
      • HTML
      • PDF

Classes

  • CholeskyDecomposition
  • Dao
  • DateTime
  • DateTimeZone
  • DOMNode
  • EigenvalueDecomposition
  • Elemento
  • Historial
  • Irradiacion
  • Latitud
  • MotorPhp
  • Panel
  • PclZip
  • Periodo
  • PHPExcel
  • PHPExcel_Autoloader
  • PHPExcel_Best_Fit
  • PHPExcel_CachedObjectStorage_APC
  • PHPExcel_CachedObjectStorage_CacheBase
  • PHPExcel_CachedObjectStorage_DiscISAM
  • PHPExcel_CachedObjectStorage_Igbinary
  • PHPExcel_CachedObjectStorage_Memcache
  • PHPExcel_CachedObjectStorage_Memory
  • PHPExcel_CachedObjectStorage_MemoryGZip
  • PHPExcel_CachedObjectStorage_MemorySerialized
  • PHPExcel_CachedObjectStorage_PHPTemp
  • PHPExcel_CachedObjectStorage_SQLite
  • PHPExcel_CachedObjectStorage_SQLite3
  • PHPExcel_CachedObjectStorage_Wincache
  • PHPExcel_CachedObjectStorageFactory
  • PHPExcel_CalcEngine_CyclicReferenceStack
  • PHPExcel_CalcEngine_Logger
  • PHPExcel_Calculation
  • PHPExcel_Calculation_Database
  • PHPExcel_Calculation_DateTime
  • PHPExcel_Calculation_Engineering
  • PHPExcel_Calculation_ExceptionHandler
  • PHPExcel_Calculation_Financial
  • PHPExcel_Calculation_FormulaParser
  • PHPExcel_Calculation_FormulaToken
  • PHPExcel_Calculation_Function
  • PHPExcel_Calculation_Functions
  • PHPExcel_Calculation_Logical
  • PHPExcel_Calculation_LookupRef
  • PHPExcel_Calculation_MathTrig
  • PHPExcel_Calculation_Statistical
  • PHPExcel_Calculation_TextData
  • PHPExcel_Calculation_Token_Stack
  • PHPExcel_Cell
  • PHPExcel_Cell_AdvancedValueBinder
  • PHPExcel_Cell_DataType
  • PHPExcel_Cell_DataValidation
  • PHPExcel_Cell_DefaultValueBinder
  • PHPExcel_Cell_Hyperlink
  • PHPExcel_Chart
  • PHPExcel_Chart_DataSeries
  • PHPExcel_Chart_DataSeriesValues
  • PHPExcel_Chart_Layout
  • PHPExcel_Chart_Legend
  • PHPExcel_Chart_PlotArea
  • PHPExcel_Chart_Renderer_jpgraph
  • PHPExcel_Chart_Title
  • PHPExcel_Comment
  • PHPExcel_DocumentProperties
  • PHPExcel_DocumentSecurity
  • PHPExcel_Exponential_Best_Fit
  • PHPExcel_HashTable
  • PHPExcel_IOFactory
  • PHPExcel_Linear_Best_Fit
  • PHPExcel_Logarithmic_Best_Fit
  • PHPExcel_NamedRange
  • PHPExcel_Polynomial_Best_Fit
  • PHPExcel_Power_Best_Fit
  • PHPExcel_Reader_Abstract
  • PHPExcel_Reader_CSV
  • PHPExcel_Reader_DefaultReadFilter
  • PHPExcel_Reader_Excel2003XML
  • PHPExcel_Reader_Excel2007
  • PHPExcel_Reader_Excel2007_Chart
  • PHPExcel_Reader_Excel2007_Theme
  • PHPExcel_Reader_Excel5
  • PHPExcel_Reader_Excel5_Escher
  • PHPExcel_Reader_Excel5_MD5
  • PHPExcel_Reader_Excel5_RC4
  • PHPExcel_Reader_Gnumeric
  • PHPExcel_Reader_HTML
  • PHPExcel_Reader_OOCalc
  • PHPExcel_Reader_SYLK
  • PHPExcel_ReferenceHelper
  • PHPExcel_RichText
  • PHPExcel_RichText_Run
  • PHPExcel_RichText_TextElement
  • PHPExcel_Settings
  • PHPExcel_Shared_CodePage
  • PHPExcel_Shared_Date
  • PHPExcel_Shared_Drawing
  • PHPExcel_Shared_Escher
  • PHPExcel_Shared_Escher_DgContainer
  • PHPExcel_Shared_Escher_DgContainer_SpgrContainer
  • PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer
  • PHPExcel_Shared_Escher_DggContainer
  • PHPExcel_Shared_Escher_DggContainer_BstoreContainer
  • PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE
  • PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip
  • PHPExcel_Shared_Excel5
  • PHPExcel_Shared_File
  • PHPExcel_Shared_Font
  • PHPExcel_Shared_JAMA_LUDecomposition
  • PHPExcel_Shared_JAMA_Matrix
  • PHPExcel_Shared_JAMA_QRDecomposition
  • PHPExcel_Shared_OLE
  • PHPExcel_Shared_OLE_ChainedBlockStream
  • PHPExcel_Shared_OLE_PPS
  • PHPExcel_Shared_OLE_PPS_File
  • PHPExcel_Shared_OLE_PPS_Root
  • PHPExcel_Shared_OLERead
  • PHPExcel_Shared_PasswordHasher
  • PHPExcel_Shared_String
  • PHPExcel_Shared_TimeZone
  • PHPExcel_Shared_XMLWriter
  • PHPExcel_Shared_ZipArchive
  • PHPExcel_Shared_ZipStreamWrapper
  • PHPExcel_Style
  • PHPExcel_Style_Alignment
  • PHPExcel_Style_Border
  • PHPExcel_Style_Borders
  • PHPExcel_Style_Color
  • PHPExcel_Style_Conditional
  • PHPExcel_Style_Fill
  • PHPExcel_Style_Font
  • PHPExcel_Style_NumberFormat
  • PHPExcel_Style_Protection
  • PHPExcel_Style_Supervisor
  • PHPExcel_Worksheet
  • PHPExcel_Worksheet_AutoFilter
  • PHPExcel_Worksheet_AutoFilter_Column
  • PHPExcel_Worksheet_AutoFilter_Column_Rule
  • PHPExcel_Worksheet_BaseDrawing
  • PHPExcel_Worksheet_CellIterator
  • PHPExcel_Worksheet_ColumnDimension
  • PHPExcel_Worksheet_Drawing
  • PHPExcel_Worksheet_Drawing_Shadow
  • PHPExcel_Worksheet_HeaderFooter
  • PHPExcel_Worksheet_HeaderFooterDrawing
  • PHPExcel_Worksheet_MemoryDrawing
  • PHPExcel_Worksheet_PageMargins
  • PHPExcel_Worksheet_PageSetup
  • PHPExcel_Worksheet_Protection
  • PHPExcel_Worksheet_Row
  • PHPExcel_Worksheet_RowDimension
  • PHPExcel_Worksheet_RowIterator
  • PHPExcel_Worksheet_SheetView
  • PHPExcel_WorksheetIterator
  • PHPExcel_Writer_Abstract
  • PHPExcel_Writer_CSV
  • PHPExcel_Writer_Excel2007
  • PHPExcel_Writer_Excel2007_Chart
  • PHPExcel_Writer_Excel2007_Comments
  • PHPExcel_Writer_Excel2007_ContentTypes
  • PHPExcel_Writer_Excel2007_DocProps
  • PHPExcel_Writer_Excel2007_Drawing
  • PHPExcel_Writer_Excel2007_Rels
  • PHPExcel_Writer_Excel2007_RelsRibbon
  • PHPExcel_Writer_Excel2007_RelsVBA
  • PHPExcel_Writer_Excel2007_StringTable
  • PHPExcel_Writer_Excel2007_Style
  • PHPExcel_Writer_Excel2007_Theme
  • PHPExcel_Writer_Excel2007_Workbook
  • PHPExcel_Writer_Excel2007_Worksheet
  • PHPExcel_Writer_Excel2007_WriterPart
  • PHPExcel_Writer_Excel5
  • PHPExcel_Writer_Excel5_BIFFwriter
  • PHPExcel_Writer_Excel5_Escher
  • PHPExcel_Writer_Excel5_Font
  • PHPExcel_Writer_Excel5_Parser
  • PHPExcel_Writer_Excel5_Workbook
  • PHPExcel_Writer_Excel5_Worksheet
  • PHPExcel_Writer_Excel5_Xf
  • PHPExcel_Writer_HTML
  • PHPExcel_Writer_PDF
  • PHPExcel_Writer_PDF_Core
  • PHPExcel_Writer_PDF_DomPDF
  • PHPExcel_Writer_PDF_mPDF
  • PHPExcel_Writer_PDF_tcPDF
  • Provincia
  • Radiacion
  • SingularValueDecomposition
  • Sistema
  • trendClass
  • xajax
  • xajaxArgumentManager
  • xajaxCallableObject
  • xajaxCallableObjectPlugin
  • xajaxControl
  • xajaxControlContainer
  • xajaxCustomRequest
  • xajaxCustomResponse
  • xajaxEvent
  • xajaxEventPlugin
  • xajaxFunctionPlugin
  • xajaxIncludeClientScriptPlugin
  • xajaxLanguageManager
  • xajaxPlugin
  • xajaxPluginManager
  • xajaxRequest
  • xajaxRequestPlugin
  • xajaxResponse
  • xajaxResponseManager
  • xajaxResponsePlugin
  • xajaxScriptPlugin
  • xajaxUserFunction
  • XMLWriter

Interfaces

  • DateTimeInterface
  • Iterator
  • PHPExcel_CachedObjectStorage_ICache
  • PHPExcel_Cell_IValueBinder
  • PHPExcel_IComparable
  • PHPExcel_Reader_IReader
  • PHPExcel_Reader_IReadFilter
  • PHPExcel_RichText_ITextElement
  • PHPExcel_Writer_IWriter
  • Throwable
  • Traversable

Exceptions

  • Exception
  • PHPExcel_Calculation_Exception
  • PHPExcel_Chart_Exception
  • PHPExcel_Exception
  • PHPExcel_Reader_Exception
  • PHPExcel_Writer_Exception

Functions

  • acosh
  • agregar_elemento
  • asinh
  • atanh
  • borrar_elementos
  • borrar_gdm_ab
  • borrar_irradiacion
  • borrar_latitud
  • borrar_panel
  • borrar_periodo
  • borrar_pmp_min_pmp_max
  • borrar_radiacion
  • borrar_resumen
  • borrar_sistema
  • borrar_sombra
  • gdm_ab
  • grabar_resumen
  • historial
  • hypo
  • irradiacion
  • JAMAError
  • latitud
  • limpiar_historial
  • login
  • mb_str_replace
  • mostrar_energia_total_ch
  • mostrar_panel_md_th
  • mostrar_panel_th
  • mostrar_radiacion_md_th
  • mostrar_radiacion_th
  • mostrar_resumen_th
  • panel
  • PclZipUtilCopyBlock
  • PclZipUtilOptionText
  • PclZipUtilPathInclusion
  • PclZipUtilPathReduction
  • PclZipUtilRename
  • PclZipUtilTranslateWinPath
  • periodo
  • pmp_min_pmp_max
  • preparar_panel
  • preparar_radiacion
  • preparar_radiacion_media
  • radiacion
  • resumen
  • sistema
  • sombra
  • xajaxCompressFile
  • xajaxErrorHandler
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
  1: <?php
  2: /*
  3:     File: xajaxDefaultIncludePlugin.inc.php
  4: 
  5:     Contains the default script include plugin class.
  6: 
  7:     Title: xajax default script include plugin class
  8: 
  9:     Please see <copyright.inc.php> for a detailed description, copyright
 10:     and license information.
 11: */
 12: 
 13: /*
 14:     @package xajax
 15:     @version $Id: xajaxDefaultIncludePlugin.inc.php 362 2007-05-29 15:32:24Z calltoconstruct $
 16:     @copyright Copyright (c) 2005-2007 by Jared White & J. Max Wilson
 17:     @copyright Copyright (c) 2008-2010 by Joseph Woolley, Steffen Konerow, Jared White  & J. Max Wilson
 18:     @license http://www.xajaxproject.org/bsd_license.txt BSD License
 19: */
 20: 
 21: /*
 22:     Class: xajaxIncludeClientScript
 23: 
 24:     Generates the SCRIPT tags necessary to 'include' the xajax javascript
 25:     library on the browser.
 26: 
 27:     This is called when the page is first loaded.
 28: */
 29: final class xajaxIncludeClientScriptPlugin extends xajaxRequestPlugin
 30: {
 31:     private $sJsURI;
 32:     private $aJsFiles;
 33:     private $sDefer;
 34:     private $sRequestURI;
 35:     private $sStatusMessages;
 36:     private $sWaitCursor;
 37:     private $sVersion;
 38:     private $sDefaultMode;
 39:     private $sDefaultMethod;
 40:     private $bDebug;
 41:     private $bVerboseDebug;
 42:     private $nScriptLoadTimeout;
 43:     private $bUseUncompressedScripts;
 44:     private $bDeferScriptGeneration;
 45:     private $sLanguage;
 46:     private $nResponseQueueSize;
 47:     private $sDebugOutputID;
 48: 
 49:     public function xajaxIncludeClientScriptPlugin()
 50:     {
 51:         $this->sJsURI = '';
 52:         $this->aJsFiles = array();
 53:         $this->sDefer = '';
 54:         $this->sRequestURI = '';
 55:         $this->sStatusMessages = 'false';
 56:         $this->sWaitCursor = 'true';
 57:         $this->sVersion = 'unknown';
 58:         $this->sDefaultMode = 'asynchronous';
 59:         $this->sDefaultMethod = 'POST'; // W3C: Method is case sensitive
 60:         $this->bDebug = false;
 61:         $this->bVerboseDebug = false;
 62:         $this->nScriptLoadTimeout = 2000;
 63:         $this->bUseUncompressedScripts = false;
 64:         $this->bDeferScriptGeneration = false;
 65:         $this->sLanguage = null;
 66:         $this->nResponseQueueSize = null;
 67:         $this->sDebugOutputID = null;
 68:     }
 69: 
 70:     /*
 71:         Function: configure
 72:     */
 73:     public function configure($sName, $mValue)
 74:     {
 75:         if ('javascript URI' == $sName) {
 76:             $this->sJsURI = $mValue;
 77:         } else if ("javascript files" == $sName) {
 78:             $this->aJsFiles = $mValue;
 79:         } else if ("scriptDefferal" == $sName) {
 80:             if (true === $mValue) $this->sDefer = "defer ";
 81:             else $this->sDefer = "";
 82:         } else if ("requestURI" == $sName) {
 83:             $this->sRequestURI = $mValue;
 84:         } else if ("statusMessages" == $sName) {
 85:             if (true === $mValue) $this->sStatusMessages = "true";
 86:             else $this->sStatusMessages = "false";
 87:         } else if ("waitCursor" == $sName) {
 88:             if (true === $mValue) $this->sWaitCursor = "true";
 89:             else $this->sWaitCursor = "false";
 90:         } else if ("version" == $sName) {
 91:             $this->sVersion = $mValue;
 92:         } else if ("defaultMode" == $sName) {
 93:             if ("asynchronous" == $mValue || "synchronous" == $mValue)
 94:                 $this->sDefaultMode = $mValue;
 95:         } else if ("defaultMethod" == $sName) {
 96:             if ("POST" == $mValue || "GET" == $mValue)  // W3C: Method is case sensitive
 97:                 $this->sDefaultMethod = $mValue;
 98:         } else if ("debug" == $sName) {
 99:             if (true === $mValue || false === $mValue)
100:                 $this->bDebug = $mValue;
101:         } else if ("verboseDebug" == $sName) {
102:             if (true === $mValue || false === $mValue)
103:                 $this->bVerboseDebug = $mValue;
104:         } else if ("scriptLoadTimeout" == $sName) {
105:             $this->nScriptLoadTimeout = $mValue;
106:         } else if ("useUncompressedScripts" == $sName) {
107:             if (true === $mValue || false === $mValue)
108:                 $this->bUseUncompressedScripts = $mValue;
109:         } else if ('deferScriptGeneration' == $sName) {
110:             if (true === $mValue || false === $mValue)
111:                 $this->bDeferScriptGeneration = $mValue;
112:             else if ('deferred' == $mValue)
113:                 $this->bDeferScriptGeneration = $mValue;
114:         } else if ('language' == $sName) {
115:             $this->sLanguage = $mValue;
116:         } else if ('responseQueueSize' == $sName) {
117:             $this->nResponseQueueSize = $mValue;
118:         } else if ('debugOutputID' == $sName) {
119:             $this->sDebugOutputID = $mValue;
120:         }
121:     }
122: 
123:     /*
124:         Function: generateClientScript
125:     */
126:     public function generateClientScript()
127:     {
128:         if (false === $this->bDeferScriptGeneration)
129:         {
130:             $this->printJavascriptConfig();
131:             $this->printJavascriptInclude();
132:         }
133:         else if (true === $this->bDeferScriptGeneration)
134:         {
135:             $this->printJavascriptInclude();
136:         }
137:         else if ('deferred' == $this->bDeferScriptGeneration)
138:         {
139:             $this->printJavascriptConfig();
140:         }
141:     }
142: 
143:     /*
144:         Function: getJavascriptConfig
145: 
146:         Generates the xajax settings that will be used by the xajax javascript
147:         library when making requests back to the server.
148: 
149:         Returns:
150: 
151:         string - The javascript code necessary to configure the settings on
152:             the browser.
153:     */
154:     public function getJavascriptConfig()
155:     {
156:         ob_start();
157:         $this->printJavascriptConfig();
158:         return ob_get_clean();
159:     }
160:     
161:     /*
162:         Function: printJavascriptConfig
163:         
164:         See <xajaxIncludeClientScriptPlugin::getJavascriptConfig>
165:     */
166:     public function printJavascriptConfig()
167:     {
168:         $sCrLf = "\n";
169:         
170:         $sJsURI = $this->sJsURI;
171: 
172:         if ($sJsURI != '' && substr($sJsURI, -1) != '/') 
173:             $sJsURI .= '/';
174: 
175:         echo $sCrLf;
176:         echo '<';
177:         echo 'script type="text/javascript" ';
178:         echo $this->sDefer;
179:         echo 'charset="UTF-8">';
180:         echo $sCrLf;
181:         echo '/* <';
182:         echo '![CDATA[ */';
183:         echo $sCrLf;
184:         echo 'try { if (undefined == xajax.config) xajax.config = {}; } catch (e) { xajax = {}; xajax.config = {}; };';
185:         echo $sCrLf;
186:         echo 'xajax.config.requestURI = "';
187:         echo $this->sRequestURI;
188:         echo '";';
189:         echo $sCrLf;
190:         echo 'xajax.config.statusMessages = ';
191:         echo $this->sStatusMessages;
192:         echo ';';
193:         echo $sCrLf;
194:         echo 'xajax.config.waitCursor = ';
195:         echo $this->sWaitCursor;
196:         echo ';';
197:         echo $sCrLf;
198:         echo 'xajax.config.version = "';
199:         echo $this->sVersion;
200:         echo '";';
201:         echo $sCrLf;
202:         echo 'xajax.config.defaultMode = "';
203:         echo $this->sDefaultMode;
204:         echo '";';
205:         echo $sCrLf;
206:         echo 'xajax.config.defaultMethod = "';
207:         echo $this->sDefaultMethod;
208:         echo '";';
209:         echo $sCrLf;
210:         echo 'xajax.config.JavaScriptURI = "';
211:         echo $this->sJsURI;
212:         echo '";';
213: 
214:         
215:         if (false === (null === $this->nResponseQueueSize))
216:         {
217:             echo $sCrLf;
218:             echo 'xajax.config.responseQueueSize = ';
219:             echo $this->nResponseQueueSize;
220:             echo ';';
221:         }
222:         
223:         if (true === $this->bDebug)
224:         {
225:             if (false === (null === $this->sDebugOutputID))
226:             {
227:                 echo $sCrLf;
228:                 echo 'xajax.debug = {};';
229:                 echo $sCrLf;
230:                 echo 'xajax.debug.outputID = "';
231:                 echo $this->sDebugOutputID;
232:                 echo '";';
233:             }
234:         }
235:         
236:         echo $sCrLf;
237:         echo '/* ]]> */';
238:         echo $sCrLf;
239:         echo '<';
240:         echo '/script>';
241:         echo $sCrLf;
242:     }
243: 
244:     /*
245:         Function: getJavascriptInclude
246: 
247:         Generates SCRIPT tags necessary to load the javascript libraries on
248:         the browser.
249: 
250:         sJsURI - (string):  The relative or fully qualified PATH that will be
251:             used to compose the URI to the specified javascript files.
252:         aJsFiles - (array):  List of javascript files to include.
253: 
254:         Returns:
255: 
256:         string - The SCRIPT tags that will cause the browser to load the
257:             specified files.
258:     */
259:     public function getJavascriptInclude()
260:     {
261:         ob_start();
262:         $this->printJavascriptInclude();
263:         return ob_get_clean();
264:     }
265:     
266:     /*
267:         Function: printJavascriptInclude
268:         
269:         See <xajaxIncludeClientScriptPlugin::getJavascriptInclude>
270:     */
271:     public function printJavascriptInclude()
272:     {
273:         $aJsFiles = $this->aJsFiles;
274:         $sJsURI = $this->sJsURI;
275: 
276:         if (0 == count($aJsFiles)) {
277:             $aJsFiles[] = array($this->_getScriptFilename('xajax_js/xajax_core.js'), 'xajax');
278:             
279:             if (true === $this->bDebug)
280:                 $aJsFiles[] = array($this->_getScriptFilename('xajax_js/xajax_debug.js'), 'xajax.debug');
281:             
282:             if (true === $this->bVerboseDebug)
283:                 $aJsFiles[] = array($this->_getScriptFilename('xajax_js/xajax_verbose.js'), 'xajax.debug.verbose');
284:             
285:             if (null !== $this->sLanguage)
286:                 $aJsFiles[] = array($this->_getScriptFilename('xajax_js/xajax_lang_' . $this->sLanguage . '.js'), 'xajax');
287:         }
288:         
289:         if ($sJsURI != '' && substr($sJsURI, -1) != '/') 
290:             $sJsURI .= '/';
291:             
292:         $sCrLf = "\n";
293:         
294:         foreach ($aJsFiles as $aJsFile) {
295:             echo '<';
296:             echo 'script type="text/javascript" src="';
297:             echo $sJsURI;
298:             echo $aJsFile[0];
299:             echo '" ';
300:             echo $this->sDefer;
301:             echo 'charset="UTF-8"><';
302:             echo '/script>';
303:             echo $sCrLf;
304:         }
305:             
306:         if (0 < $this->nScriptLoadTimeout) {
307:             foreach ($aJsFiles as $aJsFile) {
308:                 echo '<';
309:                 echo 'script type="text/javascript" ';
310:                 echo $this->sDefer;
311:                 echo 'charset="UTF-8">';
312:                 echo $sCrLf;
313:                 echo '/* <';
314:                 echo '![CDATA[ */';
315:                 echo $sCrLf;
316:                 echo 'window.setTimeout(';
317:                 echo $sCrLf;
318:                 echo ' function() {';
319:                 echo $sCrLf;
320:                 echo '  var scriptExists = false;';
321:                 echo $sCrLf;
322:                 echo '  try { if (';
323:                 echo $aJsFile[1];
324:                 echo '.isLoaded) scriptExists = true; }';
325:                 echo $sCrLf;
326:                 echo '  catch (e) {}';
327:                 echo $sCrLf;
328:                 echo '  if (!scriptExists) {';
329:                 echo $sCrLf;
330:                 echo '   alert("Error: the ';
331:                 echo $aJsFile[1];
332:                 echo ' Javascript component could not be included. Perhaps the URL is incorrect?\nURL: ';
333:                 echo $sJsURI;
334:                 echo $aJsFile[0];
335:                 echo '");';
336:                 echo $sCrLf;
337:                 echo '  }';
338:                 echo $sCrLf;
339:                 echo ' }, ';
340:                 echo $this->nScriptLoadTimeout;
341:                 echo ');';
342:                 echo $sCrLf;
343:                 echo '/* ]]> */';
344:                 echo $sCrLf;
345:                 echo '<';
346:                 echo '/script>';
347:                 echo $sCrLf;
348:             }
349:         }
350:     }
351:     
352:     /*
353:         Function: _getScriptFilename
354:         
355:         Returns the name of the script file, based on the current settings.
356:         
357:         sFilename - (string):  The base filename.
358:         
359:         Returns:
360:         
361:         string - The filename as it should be specified in the script tags
362:         on the browser.
363:     */
364:     private function _getScriptFilename($sFilename)
365:     {
366:         if ($this->bUseUncompressedScripts) {
367:             return str_replace('.js', '_uncompressed.js', $sFilename);  
368:         }
369:         return $sFilename;
370:     }
371: }
372: 
373: /*
374:     Register the xajaxIncludeClientScriptPlugin object with the xajaxPluginManager.
375: */
376: $objPluginManager = xajaxPluginManager::getInstance();
377: $objPluginManager->registerPlugin(new xajaxIncludeClientScriptPlugin(), 99);
378: 
Autene API documentation generated by ApiGen