You are here

public function EntityQueue::__construct in Entityqueue 7

Constructs a new EntityQueue object, without saving it to the database.

Parameters

array $values:

File

includes/entityqueue_queue.class.inc, line 63
Defines the base class for entity queues.

Class

EntityQueue
Base class for entity queues.

Code

public function __construct($values = array()) {
  $values = (array) $values;

  // Set initial values.
  foreach ($values as $key => $value) {
    $this->{$key} = $value;
  }
}