[TYPO3-english] Call an utility on saving a model table
Sergio
naguib.mahfuz at gmail.com
Thu Jan 24 13:28:23 CET 2013
Hi Soren,
your tip was really useful. I implemented
"processDatamap_afterDatabaseOperations" hook in my extension, and it
really works for "new" and "update" operations, but it doesn't work
properly on "deleting" :(
It seems like the change to the fieldss on the table are executed after
finishing the function, not before. Could it be? Should I use other
extension?
Thanks,
Sergio
On 24/01/13 07:06, Søren Malling wrote:
> Hi Sergio,
>
> Have a look at the hooks in the tcemain class named processCmdMap - i think
> that will help you
>
> Cheers
>
>
> Søren Malling
>
> Twitter: twitter.com/sorenmalling
>
>
> On Tue, Jan 22, 2013 at 4:21 PM, Sergio <naguib.mahfuz at gmail.com> wrote:
>
>> Hi,
>>
>> I would like to call a certain static "utility" from a class every time a
>> model row from a table is saved in the backend. I've built the TCA and the
>> model is correct, but I don't know how to do this.
>>
>> Any hints?
>>
>> Thanks in advance,
>> Sergio
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list