[TYPO3-core] RFC: Feature Request #9078: Integrate hook in page module to render preview of records with own CType

Steffen Kamper info at sk-typo3.de
Tue Aug 12 22:53:53 CEST 2008


Dmitry Dulepov [typo3] schrieb:
> Hi!
> 
> Oliver Hader wrote:
>> I'm using this new hook to render the previews for individual CTypes 
>> as well as for previews of the standard CEs that were extended by some 
>> IRRE functionalities (nested child records with additional content).
> 
> The question is: is it necessary to use getUserObj and hard-coded names? 
> Sometimes different hooks are good to have in one class. Having free 
> naming for hook gives more implementation freedom. I prefer 
> t3lib_div::callUserFunction instead of getUserObj and hard-coded 
> function name.
> 

+1 for generalize that.

t3lib_div::callUserFunction is the best, easy to use, and it would make 
sense if all hooks are called the same way.

Now we have 3 different kinds of hooks, which makes it not easy for a 
developer.

vg Steffen


More information about the TYPO3-team-core mailing list