function MemoryQueue::__construct
Start working with a queue.
Parameters
$name: Arbitrary string. The name of the queue to work with.
File
-
modules/
system/ system.queue.inc, line 317
Class
- MemoryQueue
- Static queue implementation.
Code
public function __construct($name) {
$this->queue = array();
$this->id_sequence = 0;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.