Turba_Driver::_deleteAll PHP 메소드

_deleteAll() 보호된 메소드

Deletes all contacts from an address book.
protected _deleteAll ( ) : array
리턴 array An array of UIDs that have been deleted.
    protected function _deleteAll()
    {
        return array();
    }

Usage Example

예제 #1
0
파일: Share.php 프로젝트: horde/horde
 /**
  * Deletes all contacts from a specific address book.
  *
  * @param string $sourceName  The source to remove all contacts from.
  *
  * @return array  An array of UIDs
  * @throws Turba_Exception
  */
 protected function _deleteAll($sourceName = null)
 {
     if (is_null($sourceName)) {
         $sourceName = $this->getContactOwner();
     }
     return $this->_driver->_deleteAll($sourceName);
 }