These hooks are called right after an item has been processed by the publishing queue. They can for instance be used to delete / update data created in a preQueue hook.
Add MyPriorityHandler::cleanup() after the item has been handled::
ezpContentPublishingQueue::signals()->connect( 'postHandling', 'MyPriorityHandler::cleanup' );
Hooks can also be attached using INI settings if you want the call to be made every time::
These hooks are given three parameters:
- the content object id (integer)
- the content object version (integer)
- the publishing process status (as one of the ezpContentPublishingProcess::STATUS_* constants)
They're not supposed to return any value.
Geir Arne Waaler (04/03/2011 2:35 pm)
Geir Arne Waaler (29/08/2011 11:44 am)