PHP 클래스 clsCometStreaming

상속: extends xajaxResponsePlugin
파일 보기 프로젝트 열기: xajax/xajax

공개 프로퍼티들

프로퍼티 타입 설명
$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