saveEvent() 공개 메소드

If it is a new event, it is added, otherwise the event is updated.
public saveEvent ( Kronolith_Event $event ) : string
$event Kronolith_Event The event to save.
리턴 string The event id.
예제 #1
0
파일: Resource.php 프로젝트: horde/horde
 /**
  * Saves an event in the backend.
  *
  * If it is a new event, it is added, otherwise the event is updated.
  *
  * @param Kronolith_Event $event  The event to save.
  *
  * @return string  The event id.
  * @throws Horde_Mime_Exception
  * @throws Kronolith_Exception
  */
 public function saveEvent(Kronolith_Event $event)
 {
     return $this->_driver->saveEvent($event);
 }