我正在开发一个包含FE扩展和BE模块的扩展。请参阅下面的BE模块
class Tx_XXXXXXX_Controller_PitslayersliderController extends Tx_Extbase_MVC_Controller_ActionController {
public function listAction(){
}
public function getdataAction($params = array(), \TYPO3\CMS\Core\Http\AjaxRequestHandler &$ajaxObj = NULL) {
//This is an AJAX Call Action and I am rendering all my contents through
//$this->view->assign();
//$this->view->render();
//Everything was working fine till 6.1 . But from 6.2 onwards this is not working.
}
}
ext_tables.php
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler (
'xxxxxxxxxController::getdata',
'Tx_xxxxxxxxxx_Controller_xxxxxxxController->getdataAction'
);
php_error_log出错
PHP Fatal error: Call to a member function assign() on a non-object in
任何人都可以帮我解决这个问题吗?