[TYPO3-english] Something like eval to other field types or other ideas to auto-fill IRRE form
Mathias Schreiber [wmdb]
mathias.schreiber at wmdb.de
Mon Jul 18 13:38:24 CEST 2011
Am 16.07.11 16:31, schrieb Guillermo R. Oramas J.:
> I appreciate more information about hooks that I can use in this situation.
> I read the Core API documentation but I'm confusing about how they works and
> how to call them.
Hooks are implemented so you can interact with the "flow" of data within
TYPO3.
Imagine something like this:
Data is entered by a user, the "SAVE" button is clicked and after that
the "new" form is rendered.
Here you have at least two hooks you can "hook" into that flow.
a) before the data was actually stored in the database. Useful to
validate things.
b) after the data was stored in the database. Useful when you need IDs
of newly created records.
Check this out:
http://typo3.org/development/articles/how-to-use-existing-hooks/
And also this might help you finding the hook you want to use:
processDatamap_afterDatabaseOperations()
cheers
mathias
--
Ernesto, Nov. 9th 2010:
"In the graphics generation routines of TYPO3 *anything* could cause a
side effect."
More information about the TYPO3-english
mailing list