PHP and TypoScript
ContentObjectRenderer
ContentObjectRenderer::cObjGetSingle(value, properties[, TSkey = '__'])
A method of
\TYPO3\.
Gets a content object from the $conf array.
Example:
$content = $cObjectRenderer->cObjGetSingle($conf['image'], $conf['image.'], 'My Image 2');
Copied!
This would return any IMAGE cObject at the property image of the
$conf array for the include script!
ContentObjectRenderer::stdWrap(value, properties)
A method of
\TYPO3\.
Hands the content in "value" to the stdWrap function, which will process it according to the configuration of the array "properties".
Example:
$content = $cObjectRenderer->stdWrap($content, $conf['stdWrap.']);
Copied!
This will stdWrap the content with the properties of .std of the
$conf array!