[TYPO3-core] RFC: #14041: impexp: Add Hooks

Steffen Kamper info at sk-typo3.de
Sat Apr 10 12:04:48 CEST 2010


Hi,

Francois Suter schrieb:
> Hi,
> 
>> Just wondering: is there enough data passed to the hook function to
>> perform the necessary actions? When I find a hook function I could use I
>> usually find that the data I need is not available inside the function...
> 
> See Steffen's answer, but I would like to add that it's impossible to 
> guess what people might want to do with a given hook. Hooks are often 
> "abused". I mean that they are sometimes used because they happen at a 
> convenient time during code execution, but are not necessarily used for 
> the tasks they were originally designed for.
> 
> While I understand the reason for your question, I think it is very hard 
> to answer with a definite "yes".
> 

my intention was that the hooks give the chance to manipulate the data 
which will be written to DB by tcemain. This is possible now and wasn't 
before, that's the hooks are for.

If you want to do more that isn't possible you have to XCLASS.

vg Steffen


More information about the TYPO3-team-core mailing list