Kronolith_Driver::getEvent PHP Method

getEvent() public method

Stub to be overridden in the child class.
public getEvent ( $eventId = null )
    public function getEvent($eventId = null)
    {
        throw new Kronolith_Exception($this->_errormsg);
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * @throws Kronolith_Exception
  * @throws Horde_Exception_NotFound
  */
 public function getEvent($eventId = null)
 {
     if (!strlen($eventId)) {
         $event = new $this->_eventClass($this);
         $event->calendar = $this->calendar;
         return $event;
     }
     $driver_event = $this->_driver->getEvent($eventId);
     $event = $this->_buildResourceEvent($driver_event);
     return $event;
 }
All Usage Examples Of Kronolith_Driver::getEvent