[TYPO3-english] extension developement and stdWrap

Stephan Petzl spetzl at gmx.at
Thu Jan 22 14:16:25 CET 2009


hi,

when i create Typoscript which is rendered in my extension with 
cObjGetSingle i want to assign data to the cObj->data array, so that 
stdWrap can access it. i always did it like this:

$this->cObj->data = $row_from_db;
$MA['###TEXT###'] = 
$this->cObj->cObjGetSingle($this->conf['mytextfield'],$this->conf['mytextfield.']);

but now i ask myself if there is a convention how to add data to the 
data array- do you know?

BR Steph


More information about the TYPO3-english mailing list