[TYPO3-mvc] Equivalent of tslib_pibase->cObj in FE controller?
François Suter
fsu-lists at cobweb.ch
Mon Apr 1 21:58:50 CEST 2013
Hi Torsten,
> To my knowledge you can get this information with
> $this->request->getContentObjectData()
Indeed. I missed it among all the various objects, inheritances and all.
BTW, it's deprecated:
public function getContentObjectData() {
t3lib_div::logDeprecatedFunction();
$contentObject = $this->configurationManager->getContentObject();
return $contentObject->data;
}
Thanks for the pointer!
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-project-typo3v4mvc
mailing list