PHP Class xajaxIncludeClientScriptPlugin

Generates the SCRIPT tags necessary to 'include' the xajax javascript library on the browser. This is called when the page is first loaded.
Inheritance: extends xajaxRequestPlugin
Datei anzeigen Open project: xajax/xajax

Public Methods

Method Description
configure ( $sName, $mValue ) * Function: configure
generateClientScript ( ) * Function: generateClientScript
getJavascriptConfig ( ) * Function: getJavascriptConfig
getJavascriptInclude ( ) * Function: getJavascriptInclude
printJavascriptConfig ( ) * Function: printJavascriptConfig
printJavascriptInclude ( ) * Function: printJavascriptInclude
xajaxIncludeClientScriptPlugin ( )

Method Details

configure() public method

* Function: configure
public configure ( $sName, $mValue )

generateClientScript() public method

* Function: generateClientScript

getJavascriptConfig() public method

Generates the xajax settings that will be used by the xajax javascript library when making requests back to the server. Returns: string - The javascript code necessary to configure the settings on the browser.
public getJavascriptConfig ( )

getJavascriptInclude() public method

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. Returns: string - The SCRIPT tags that will cause the browser to load the specified files.

printJavascriptConfig() public method

See

printJavascriptInclude() public method

See

xajaxIncludeClientScriptPlugin() public method