[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TYPO3-dev] Problem with a hook definition
Tapio Markula
>
> $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClass'][]=
>
> array('COA','EXT:user_directmailsubcriptions/class.user_directmailsubcriptions.php:&user_directmailsubcriptions');
>
>
>
>
> But what should I uses as the name of the method?
I found from the Berhard's attachment
// Application defined cObjects
+ foreach ($this->cObjHookObjectsArr as $cObjName =>
$hookObj) {
+ if (($name===$cObjName) && method_exists($hookObj,
'cObjGetSingleExt')) {
+ $content .= $hookObj->cObjGetSingleExt($name,
$conf, $this);
+ $hooked = true;
+ }
+ }
apparently 'cObjGetSingleExt' is the correct name of the needed method
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@xxxxxxxxxxxxxxxxxxxx
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev