Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

queueReader handler

This handler is the one in charge of reading from the queue and deciding what content is given to the queue handler. A default queueReader handler is provided with your default eZ Publish distribution. It simply reads the oldest inactive
item from the processes queue, and returns it.

It can be changed to a new one by implementing the "ezpContentPublishingQueueReaderInterface" and configuring the new class in "content.ini".

Here is a possible class definition::

    class myPublishingQueue implements ezpContentPublishingQueueReaderInterface
        public static function next()
            // do your deeds...
            if ( $process )
                return $process;
                return false;

And the matching INI (content.ini) configuration:


Geir Arne Waaler (04/03/2011 1:40 pm)

Geir Arne Waaler (22/03/2011 1:33 pm)


There are no comments.