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
Afficher le fichier
Open project: xajax/xajax
Méthodes publiques
Свойство |
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. |
|
Méthodes publiques
Méthode |
Description |
|
addCommand ( $aAttributes, $sData ) |
*
Function: addCommand |
|
getName ( ) |
*
Function: getName |
|
process ( ) |
*
Function: process |
|
setResponse ( $objResponse ) |
*
Function: setResponse |
|
Method Details
addCommand()
public méthode
Used internally to add a command to the response command list. This
will call addPluginCommand> using the reference provided
in setResponse>.
Called by the when the user script requests a plugin.
This name must match the plugin name requested in the called to
plugin>.
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.
setResponse()
public méthode
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
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.