deleteAll() 공개 메소드

Delete all objects from this data set.
public deleteAll ( ) : null
리턴 null
예제 #1
0
파일: Kolab.php 프로젝트: Gomez/horde
 /**
  * Delete a calendar and all its events.
  *
  * @param string $calendar  The name of the calendar to delete.
  *
  * @throws Kronolith_Exception
  */
 public function delete($calendar)
 {
     $this->open($calendar);
     $result = $this->synchronize();
     $result = $this->_data->deleteAll($calendar);
     if (is_callable('Kolab', 'triggerFreeBusyUpdate')) {
         //Kolab::triggerFreeBusyUpdate($this->_data->parseFolder($calendar));
     }
 }
예제 #2
0
파일: Log.php 프로젝트: horde/horde
 /**
  * Delete all objects from this data set.
  *
  * @return NULL
  */
 public function deleteAll()
 {
     $this->_logger->debug(sprintf('Deleting all data objects in %s.', $this->_data->getPath()));
     $this->_data->deleteAll();
     $this->_logger->debug(sprintf('Deleted all data objects in %s.', $this->_data->getPath()));
 }