Elgg  Version 1.9
Public Member Functions | List of all members
Elgg_Queue_Queue Interface Reference
Inheritance diagram for Elgg_Queue_Queue:
Elgg_Queue_DatabaseQueue Elgg_Queue_MemoryQueue

Public Member Functions

 enqueue ($item)
 Add an item to the queue. More...
 
 dequeue ()
 Remove an item from the queue. More...
 
 clear ()
 Clear all items from the queue. More...
 
 size ()
 Get the size of the queue. More...
 

Detailed Description

Definition at line 14 of file Queue.php.

Member Function Documentation

Elgg_Queue_Queue::clear ( )

Clear all items from the queue.

Returns
void

Implemented in Elgg_Queue_DatabaseQueue, and Elgg_Queue_MemoryQueue.

Elgg_Queue_Queue::dequeue ( )

Remove an item from the queue.

Returns
mixed

Implemented in Elgg_Queue_DatabaseQueue, and Elgg_Queue_MemoryQueue.

Elgg_Queue_Queue::enqueue (   $item)

Add an item to the queue.

Parameters
mixed$itemItem to add to queue
Returns
bool

Implemented in Elgg_Queue_DatabaseQueue, and Elgg_Queue_MemoryQueue.

Elgg_Queue_Queue::size ( )

Get the size of the queue.

Returns
int

Implemented in Elgg_Queue_DatabaseQueue, and Elgg_Queue_MemoryQueue.


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