API DOCS

DOCS & TUTORIALS » API DOCS » xajax_core » plugin_layer » xajaxDefaultIncludePlugin.inc.php » xajaxIncludeClientScript

Class: xajaxIncludeClientScript



Generates the SCRIPT tags necessary to 'include' the xajax javascript
library on the browser.

This is called when the page is first loaded.

variables

functions

configure

function configure($sName, $mValue)

generateClientScript

function generateClientScript()

getJavascriptConfig

function getJavascriptConfig()

Generates the xajax settings that will be used by the xajax javascript
library when making requests back to the server.


printJavascriptConfig

function printJavascriptConfig()

See

getJavascriptInclude

function getJavascriptInclude()

Generates SCRIPT tags necessary to load the javascript libraries on
the browser.

sJsURI - (string): The relative or fully qualified PATH that will be
used to compose the URI to the specified javascript files.
aJsFiles - (array): List of javascript files to include.


printJavascriptInclude

function printJavascriptInclude()

See

_getScriptFilename

function _getScriptFilename($sFilename)

Returns the name of the script file, based on the current settings.

sFilename - (string): The base filename.


 



XAJAX on SourceForge.net
Support this project Valid XHTML 1.0 Transitional