PHP Class 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
Exibir arquivo Open project: xajax/xajax

Public Properties

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

Public Methods

Method Description
addCommand ( $aAttributes, $sData ) * Function: addCommand
getName ( ) * Function: getName
process ( ) * Function: process
setResponse ( $objResponse ) * Function: setResponse

Method Details

addCommand() public method

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() public method

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() public method

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() public method

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 )

Property Details

$objResponse public_oe property

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