Pluf_Queue_Processor Class Reference

List of all members.

Static Public Member Functions

static getItem ()
static process ()


Detailed Description

Class to process a Pluf_Queue.

This class is very simple as basically this is just a signal handler. It goes throught the queue, get a free item, lock it, process it by sending a signal then mark it as done.


Member Function Documentation

static Pluf_Queue_Processor::getItem (  )  [static]

Get an item to process.

Returns:
mixed False if no item to proceed.

static Pluf_Queue_Processor::process (  )  [static]

[signal]

Pluf_Queue_Processor::process

[sender]

Pluf_Queue_Processor

[description]

This signal allows an application to perform an action on a queue item. The item is set to null if none existing.

You must not modify the 'queue' object.

[parameters]

array('item' => $item, 'queue' => $queue);


The documentation for this class was generated from the following file:

Generated on Wed Feb 3 15:44:52 2010 for Pluf by  doxygen