TYPO3 CMS  TYPO3_6-2
ExtDirectEidController.php
Go to the documentation of this file.
1 <?php
3 
22 
28  protected $ajaxObject = NULL;
29 
36  public function routeAction() {
39  $ajaxScript = $GLOBALS['TYPO3_CONF_VARS']['BE']['AJAX']['ExtDirect::' . $ajaxID]['callbackMethod'];
40  $this->ajaxObject = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Http\\AjaxRequestHandler', 'ExtDirect::' . $ajaxID);
41  $parameters = array();
43  }
44 
50  public function actionIsAllowed() {
51  if (!in_array(\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('action'), array('route', 'getAPI'))) {
52  return FALSE;
53  }
54  return TRUE;
55  }
56 
62  public function render() {
63  $this->ajaxObject->render();
64  }
65 
66 }
$parameters
Definition: FileDumpEID.php:15
$ajaxScript
Definition: ajax.php:48
$ajaxID
Definition: ajax.php:34
static callUserFunction($funcName, &$params, &$ref, $checkPrefix='', $errorMode=0)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
static initLanguage($language='default')
Definition: EidUtility.php:66