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::
<?php class myPublishingQueue implements ezpContentPublishingQueueReaderInterface { public static function next() { // do your deeds... if ( $process ) return $process; else return false; } ?>
And the matching INI (content.ini) configuration:
[PublishingSettings] AsynchronousPublishingQueueReader=myContentPublishingQueue
Geir Arne Waaler (04/03/2011 1:40 pm)
Geir Arne Waaler (22/03/2011 1:33 pm)
Comments
There are no comments.