PHP Класс clsCometStreaming

Наследование: extends xajaxResponsePlugin
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
clsCometStreaming ( ) * Function: clsTableUpdater
configure ( $sName, $mValue ) * Function: configure
generateClientScript ( ) * Function: generateClientScript Called by the during the script generation phase.

Описание методов

clsCometStreaming() публичный Метод

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

configure() публичный Метод

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() публичный Метод

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

Описание свойств

$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>.
public $bInlineScript

$fTimeOut публичное свойство

public $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.
public $sDefer

$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.
public $sJavascriptURI