更新时间:2023-11-26 16:15:04
在Extbase扩展中,$this->cObj
在当前作用域中不再可用,因此您需要先获得它才能使用:
In Extbase extensions $this->cObj
is no more available in the current scope, so you need to get it first before you can use:
$cObj = $this->configurationManager->getContentObject();
$ttContentConfig = array(
'tables' => 'tt_content',
'source' => 123,
'dontCheckPid' => 1
);
$content .= $cObj->RECORDS($ttContentConfig);