Exemple #1
0
 public function __construct($event, $start, $end)
 {
     parent::__construct($event->serviceKey);
     $this->parentEvent =& $event;
     $this->setStart($start);
     $this->setEnd($end);
     $this->row =& $event->row;
 }
Exemple #2
0
 public function __construct($row, $isException, $serviceKey)
 {
     parent::__construct($serviceKey);
     if (is_array($row)) {
         $this->createEvent($row, $isException);
     }
     $this->isException = $isException;
     $this->setType($serviceKey);
     $this->setObjectType('event');
 }