Horde_Kolab_Storage_Data::deleteBackendIds PHP Method

deleteBackendIds() public method

Delete the specified messages from this folder.
public deleteBackendIds ( array | string $uids ) : null
$uids array | string Backend id(s) of the message to be deleted.
return null
    public function deleteBackendIds($uids);

Usage Example

Example #1
0
File: Log.php Project: horde/horde
 /**
  * Delete the specified messages from this folder.
  *
  * @param array|string $uids Backend id(s) of the message to be deleted.
  *
  * @return NULL
  */
 public function deleteBackendIds($uids)
 {
     if (is_array($uids)) {
         $ids = join(', ', $uids);
     } else {
         $ids = $uids;
     }
     $this->_logger->debug(sprintf('Deleting backend data object(s) %s in %s.', $ids, $this->_data->getPath()));
     $this->_data->deleteBackendIds($uids);
     $this->_logger->debug(sprintf('Deleted backend data object(s) %s in %s.', $ids, $this->_data->getPath()));
 }