Horde_Kolab_Storage_Data::delete PHP Method

delete() public method

Delete the specified objects from this data set.
public delete ( array | string $object_ids ) : null
$object_ids array | string Id(s) of the object to be deleted.
return null
    public function delete($object_ids);

Usage Example

Example #1
0
File: Log.php Project: horde/horde
 /**
  * Delete the specified objects from this data set.
  *
  * @param array|string $object_ids Id(s) of the object to be deleted.
  *
  * @return NULL
  */
 public function delete($object_ids)
 {
     if (is_array($object_ids)) {
         $ids = join(', ', $object_ids);
     } else {
         $ids = $object_ids;
     }
     $this->_logger->debug(sprintf('Deleting data object(s) %s in %s.', $ids, $this->_data->getPath()));
     $this->_data->delete($object_ids);
     $this->_logger->debug(sprintf('Deleted data object(s) %s in %s.', $ids, $this->_data->getPath()));
 }
All Usage Examples Of Horde_Kolab_Storage_Data::delete