PHP Class clsCometStreaming

Inheritance: extends xajaxResponsePlugin
Afficher le fichier Open project: xajax/xajax

Méthodes publiques

Свойство Type Description
$bInlineScript Used to store the value of the inlineScript configuration option. When true, the plugin will return it's javascript code as part of the javascript header for the page, else, it will generate a script tag referencing the file by using the sJavascriptURI>.
$fTimeOut
$sDefer Used to store the state of the scriptDeferral configuration setting. When script deferral is desired, this member contains 'defer' which will request that the browser defer loading of the javascript until the rest of the page has been loaded.
$sJavascriptURI Used to store the base URI for where the javascript files are located. This enables the plugin to generate a script reference to it's javascript file if the javascript code is NOT inlined.

Méthodes publiques

Méthode Description
clsCometStreaming ( ) * Function: clsTableUpdater
configure ( $sName, $mValue ) * Function: configure
generateClientScript ( ) * Function: generateClientScript Called by the during the script generation phase.

Method Details

clsCometStreaming() public méthode

Constructs and initializes an instance of the table updater class.
public clsCometStreaming ( )

configure() public méthode

Receives configuration settings set by or user script calls to configure>. sName - (string): The name of the configuration option being set. mValue - (mixed): The value being associated with the configuration option.
public configure ( $sName, $mValue )

generateClientScript() public méthode

* Function: generateClientScript Called by the during the script generation phase.

Property Details

$bInlineScript public_oe property

Used to store the value of the inlineScript configuration option. When true, the plugin will return it's javascript code as part of the javascript header for the page, else, it will generate a script tag referencing the file by using the sJavascriptURI>.
public $bInlineScript

$fTimeOut public_oe property

public $fTimeOut

$sDefer public_oe property

Used to store the state of the scriptDeferral configuration setting. When script deferral is desired, this member contains 'defer' which will request that the browser defer loading of the javascript until the rest of the page has been loaded.
public $sDefer

$sJavascriptURI public_oe property

Used to store the base URI for where the javascript files are located. This enables the plugin to generate a script reference to it's javascript file if the javascript code is NOT inlined.
public $sJavascriptURI