PHP Класс xajaxResponsePlugin

xajax version 0.5 (Beta 1) copyright (c) 2006 by Jared White & J. Max Wilson http://www.xajaxproject.org xajax is an open source PHP class library for easily creating powerful PHP-driven, web-based Ajax Applications. Using xajax, you can asynchronously call PHP functions and update the content of your your webpage without reloading the page. xajax is released under the terms of the BSD license http://www.xajaxproject.org/bsd_license.txt
Показать файл Открыть проект

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

Свойство Тип Описание
$objResponse A reference to the current object that is being used to build the response that will be sent to the client browser.

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

Метод Описание
addCommand ( $aAttributes, $sData ) * Function: addCommand
getName ( ) * Function: getName
process ( ) * Function: process
setResponse ( $objResponse ) * Function: setResponse

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

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

Used internally to add a command to the response command list. This will call addPluginCommand> using the reference provided in setResponse>.
public addCommand ( $aAttributes, $sData )

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

Called by the when the user script requests a plugin. This name must match the plugin name requested in the called to plugin>.
public getName ( )

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

Called by when a user script requests the service of a response plugin. The parameters provided by the user will be used to determine which response command and parameters will be sent to the client upon completion of the xajax request process.
public process ( )

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

Called by the object that is currently being used to build the response that will be sent to the client browser. Parameters: objResponse - (object): A reference to the object
public setResponse ( $objResponse )

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

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

A reference to the current object that is being used to build the response that will be sent to the client browser.
public $objResponse