TYPO3 API  SVNRelease
Public Member Functions | Protected Member Functions
t3lib_extjs_ExtDirectRouter Class Reference

List of all members.

Public Member Functions

 route ($ajaxParams, TYPO3AJAX $ajaxObj)

Protected Member Functions

 processRpc ($singleRequest, $namespace)

Detailed Description

Definition at line 36 of file class.t3lib_extjs_extdirectrouter.php.


Member Function Documentation

t3lib_extjs_ExtDirectRouter::processRpc ( singleRequest,
namespace 
) [protected]

Processes an incoming extDirect call by executing the defined method. The configuration array "$GLOBALS['TYPO3_CONF_VARS']['BE']['ExtDirect']" is taken to find the class/method information.

Parameters:
object$singleRequestrequest object from extJS
string$namespacenamespace like TYPO3.Backend
Exceptions:
UnexpectedValueExceptionif the remote method couldn't be found
Returns:
mixed return value of the called method

Definition at line 144 of file class.t3lib_extjs_extdirectrouter.php.

References $GLOBALS, and t3lib_div\getUserObj().

Referenced by route().

t3lib_extjs_ExtDirectRouter::route ( ajaxParams,
TYPO3AJAX ajaxObj 
)

Dispatches the incoming calls to methods about the ExtDirect API.

Parameters:
aray$ajaxParamsajax parameters
TYPO3AJAX$ajaxObjtypo3ajax instance
Returns:
void

Definition at line 44 of file class.t3lib_extjs_extdirectrouter.php.

References $formprotection, $GLOBALS, t3lib_div\_GET(), t3lib_div\_POST(), t3lib_formprotection_Factory\get(), t3lib_div\makeInstance(), processRpc(), TYPO3AJAX\setContent(), and TYPO3AJAX\setContentFormat().


The documentation for this class was generated from the following file: