listFolders() public method

Retrieves a list of mailboxes from the server.
public listFolders ( ) : array
return array The list of mailboxes.
コード例 #1
0
ファイル: Timer.php プロジェクト: raz0rsdge/horde
 /**
  * Retrieves a list of mailboxes from the server.
  *
  * @return array The list of mailboxes.
  */
 public function listFolders()
 {
     $this->_timer->push();
     $result = parent::listFolders();
     $this->_logger->debug(sprintf('REQUEST OUT IMAP: %s ms [listFolders]', floor($this->_timer->pop() * 1000)));
     return $result;
 }
コード例 #2
0
ファイル: Log.php プロジェクト: jubinpatel/horde
 /**
  * Retrieves a list of mailboxes from the server.
  *
  * @return array The list of mailboxes.
  */
 public function listFolders()
 {
     $this->_logger->debug(sprintf('Driver "%s": Listing folders.', $this->getDriverName()));
     $result = parent::listFolders();
     $this->_logger->debug(sprintf('Driver "%s": List contained %s folders.', $this->getDriverName(), count($result)));
     return $result;
 }