[TYPO3-dev] Problem with a hook definition
Steffen Kamper
steffen at sk-typo3.de
Thu Jan 3 13:02:35 CET 2008
Hi,
"Tapio Markula" <tapio.markula at xetpoint.fi> schrieb im Newsbeitrag
news:mailman.1.1199360274.23546.typo3-dev at lists.netfielders.de...
> Hi
>
> class.tslib_content.php function function start($data,$table='')
>
> has this kind of hook definition:
>
> if (is_array
> ($TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClass']))
> {
> foreach
> ($TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClass']
> as $classArr) {
> $this->cObjHookObjectsArr[$classArr[0]] =
> &t3lib_div::getUserObj($classArr[1]);
> }
> }
>
the definition expects an array containing the cObjType and the class. have
a look at Bernhard's explanation:
http://lists.netfielders.de/pipermail/typo3-team-core/2006-April/003989.html
vg Steffen
More information about the TYPO3-dev
mailing list