expunge() 공개 메소드

Expunges messages in the current folder.
public expunge ( string $folder ) : null
$folder string The folder to expunge.
리턴 null
예제 #1
0
파일: Base.php 프로젝트: platolin/horde
 /**
  * Delete the specified messages from this folder.
  *
  * @param array|string $uids Backend id(s) of the message to be deleted.
  */
 public function deleteBackendIds($uids)
 {
     if (!is_array($uids)) {
         $uids = array($uids);
     }
     $this->_driver->deleteMessages($this->_folder->getPath(), $uids);
     $this->_driver->expunge($this->_folder->getPath());
 }
예제 #2
0
파일: Base.php 프로젝트: jubinpatel/horde
 /**
  * Expunges messages in the current folder.
  *
  * @param string $folder The folder to expunge.
  *
  * @return NULL
  */
 public function expunge($folder)
 {
     $this->_driver->expunge($folder);
 }