[TYPO3-core] RFC #11471: Hook for typo3PrintError

Michael Stucki michael at typo3.org
Fri Aug 14 19:08:10 CEST 2009


Hi Christopher,

> I updated the patch to apply to current trunk, nothing else changed.
> 
> You can easily test the patch by installing the small extension which I 
> added to my first post.

I wonder if it really makes sense to send the parsed HTML output to the
hook. What would be a use case for this?

In my opinion, the hook should provide a real alternative and not at all
interact with the original output.

Pseudo code example:

if ($hookObj) {
  // do something
} else {
  // proceed like before
}

A real example of this can be found in
indexed_search/pi/class.tx_indexedsearch.php (search for
"execFinalQuery_idList").

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list