예제 #1
0
파일: Clean.php 프로젝트: raz0rsdge/horde
 /**
  * Delete an object.
  *
  * @param string $guid The GUID of the object to be deleted.
  *
  * @return NULL
  *
  * @throws Horde_Kolab_Server_Exception
  */
 public function delete($guid)
 {
     $this->_server->delete($guid);
     if (in_array($guid, $this->_added)) {
         $this->_added = array_diff($this->_added, array($guid));
     }
 }
예제 #2
0
파일: Log.php 프로젝트: horde/horde
 /**
  * Delete an object.
  *
  * @param string $guid The GUID of the object to be deleted.
  *
  * @return NULL
  *
  * @throws Horde_Kolab_Server_Exception
  */
 public function delete($guid)
 {
     try {
         $this->_server->delete($guid);
         $this->_logger->debug(sprintf("The object \"%s\" has been successfully deleted!", $guid));
     } catch (Horde_Kolab_Server_Exception $e) {
         $this->_logger->warn(sprintf("Failed deleting object \"%s\"! Error: %s", $object->getGuid(), $e->getMessage()));
     }
 }
예제 #3
0
파일: Count.php 프로젝트: horde/horde
 /**
  * Delete an object.
  *
  * @param string $guid The GUID of the object to be deleted.
  *
  * @return NULL
  *
  * @throws Horde_Kolab_Server_Exception
  */
 public function delete($guid)
 {
     $this->_server->delete($guid);
     if (!isset($this->_count['delete'])) {
         $this->_count['delete'] = 1;
     } else {
         $this->_count['delete']++;
     }
 }
예제 #4
0
파일: Map.php 프로젝트: jubinpatel/horde
 /**
  * Delete an object.
  *
  * @param string $guid The GUID of the object to be deleted.
  *
  * @return NULL
  *
  * @throws Horde_Kolab_Server_Exception
  */
 public function delete($guid)
 {
     $this->_server->delete($guid);
 }