How to use existing hooks in your own extension
One way for extensions to take over control of certain parts of TYPO3's core is using hooks. This article gives an example of how to register your own userfunction at an existing hook and shows the best practice for using hooks in general.
Read more