public function __construct(Storage $storage, $headers = array(), $body = "", $attachments = array()) { parent::__construct($storage); $this->headers = $headers; $this->body = $body; $this->attachments = $attachments; }
public function __construct(Storage $storage = null, $globalid = null) { parent::__construct($storage); if ($globalid == null) { $globalid = uniqid() . "@"; } $this->setGlobalID($globalid); }
public function __construct(Storage $storage, $templateid = null, $field = null, $value = null) { parent::__construct($storage); if ($templateid != null) { $this->setTemplateID($templateid); } if ($field != null) { $this->setField($field); } if ($value != null) { $this->setValue($value); } }
public function __construct(Storage $storage) { parent::__construct($storage); $this->setQueued(time()); }