You are now viewing the documentation of eZ Publish legacy (4.x series and the legacy "stack" in 5.x). For 5.x versions this documentation must be complemented with the latest, more current documentation available at Happy learning!

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 2:40 pm)

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


There are no comments.