![]() |
TYPO3
7.6
|
Public Member Functions | |
routeAction (ServerRequestInterface $request, ResponseInterface $response) | |
Protected Member Functions | |
processRpc ($singleRequest, $namespace) | |
Ext Direct Router
Definition at line 24 of file ExtDirectRouter.php.
|
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.
\stdClass | $singleRequest | request object from extJS |
string | $namespace | namespace like TYPO3.Backend |
\UnexpectedValueException | if the remote method couldn't be found |
Definition at line 119 of file ExtDirectRouter.php.
References $GLOBALS, and GeneralUtility\getUserObj().
Referenced by ExtDirectRouter\routeAction().
routeAction | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Dispatches the incoming calls to methods about the ExtDirect API.
ServerRequestInterface | $request | |
ResponseInterface | $response |
Definition at line 33 of file ExtDirectRouter.php.
References $GLOBALS, $response, elseif, MessageInterface\getBody(), ServerRequestInterface\getParsedBody(), ServerRequestInterface\getQueryParams(), GeneralUtility\makeInstance(), and ExtDirectRouter\processRpc().