[Typo3-dev] scan code for hook

Martin T. Kutschker Martin.no5pam.Kutschker at blackbox.n0spam.net
Tue Aug 31 15:23:10 CEST 2004


Robert Lemke wrote:
> Hi Sylvain,
> 
> (it seems like I'm only responding to your e-mails today ;-)
> 
> Sylvain Viart wrote:
> 
> http://typo3.org/documentation/document-library/doc_core_api/Hook_configuration/
> 
>>Does someone have a tool for scanning TYPO3 source code to find hook
>>position ?
> 
> 
> No, you can't have a tool for that. But all the hooks I created have a
> comment which start with 
> 
>  // Hook: 

Is there noh phpdoc feature to create custom tags like
@hook <hookname> <desc>

IMHO this is possible with Doxygen.

Another alternative would be to "register hooks" just for the purpose of 
documentation.

Masi





More information about the TYPO3-dev mailing list