[TYPO3-dev] Re: [Typo3-dev] cObj Error when using hook

tapio tapio.markula at dnainternet.net
Thu Dec 22 19:10:18 CET 2005


Martin Kutschker wrote:
> Thomas Mammitzsch schrieb:
> 
>> Martin Kutschker schrieb:
>>
>>>
>>> Ahem, the call references $this. Anyway, AFAIR, all hook functiosn have
>>> a reference in $params['pObj'], so you can access the properties of the
>>> "parent" object.

I have used XCLASS and rewritten the whole function if I have needed 
some change.

In which kinds of situations I could use hooks an avoid rewriting the
whole function. Some examples please.

I have for example rewritten functions in db_layout.php




More information about the TYPO3-dev mailing list