public function MemoryQueue::__construct

Start working with a queue.

Parameters

$name: Arbitrary string. The name of the queue to work with.

Archivo

drupal-7.x/modules/system/system.queue.inc, line 317
Queue functionality.

Class

MemoryQueue
Static queue implementation.

Código

public function __construct($name) {
  $this->queue = array();
  $this->id_sequence = 0;
}