Exemplo n.º 1
0
 public function __construct($alert_id = null, $date_from = null, $date_to = null)
 {
     parent::__construct();
     $this->alert_id = $alert_id;
     $this->date_from = $date_from;
     $this->date_to = $date_to;
 }
Exemplo n.º 2
0
 public function __construct($alertId, $alertName, $frequency, $frequencyValue)
 {
     parent::__construct();
     $this->alertId = $alertId;
     $this->alertName = $alertName;
     $this->frequency = $frequency;
     $this->frequencyValue = $frequencyValue;
     $this->lastSent = new \DateTime();
     $this->setNextSend();
 }