ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

  • postHandling hook

    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::

    [PublishingSettings]
    AsynchronousPublishingPostHandlingHooks[]=MyPriorityHandler::cleanup
    

    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 1:35 pm)

    Geir Arne Waaler (29/08/2011 9:44 am)


    Comments

    There are no comments.