[TYPO3-core] OBTS hook

Franz Holzinger franz at fholzinger.com
Tue Apr 11 21:15:09 CEST 2006


Hello Bernhard,

> This is a CVS patch request.
>
>
> Type: Feature
>
>
> Branch: 4.1 (can wait till :)
>
>
> I was wondering if it would be possible to change the "hook" made
> especially for OBTS of
> Dan Frost in "tslib_content::cObjGetSingle" to some more general hook
> which also other
> extensions can use.
>
>
> The hook is set up a little differently than "normal" hooks as not
> only a class reference is required but
> also a cObject name for which this hook is used for.
>
>
> Example usage in ext_localconf.php:
> $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClass'][]
> = array('COA_MINT',
> 'EXT:kb_nntp_if/class.tx_kbnntpif_cobject.php:&tx_kbnntpif_cobject');
>
Define also the member variable for.

$this->cObjHookObjectsArr

+1

- Franz









More information about the TYPO3-team-core mailing list