public function __construct($event, $start, $end) { parent::__construct($event->serviceKey); $this->parentEvent =& $event; $this->setStart($start); $this->setEnd($end); $this->row =& $event->row; }
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'); }