예제 #1
0
 public function __construct(Storage $storage, $headers = array(), $body = "", $attachments = array())
 {
     parent::__construct($storage);
     $this->headers = $headers;
     $this->body = $body;
     $this->attachments = $attachments;
 }
예제 #2
0
 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);
     }
 }
예제 #4
0
 public function __construct(Storage $storage)
 {
     parent::__construct($storage);
     $this->setQueued(time());
 }