コード例 #1
0
 /**
  * @return FolderCollection
  */
 function GetFolders(&$accountDelimiter)
 {
     $folderCollection = new FolderCollection();
     $folders =& $this->_imapMail->list_mailbox($accountDelimiter);
     $subsScrFolders = $this->_imapMail->list_subscribed_mailbox($accountDelimiter);
     $existsIndex = array('VirusAdd' => true);
     $folderCollection = $this->GetFolderCollectionFromArrays($folders, $subsScrFolders, $accountDelimiter, $existsIndex);
     /* custom class */
     ap_Custom::StaticUseMethod('wm_ChangeServerImapFoldersAfterGet', array(&$folderCollection));
     return $folderCollection;
 }
コード例 #2
0
 /**
  * @return FolderCollection
  */
 function GetFolders()
 {
     $folderCollection =& new FolderCollection();
     $folders =& $this->_imapMail->list_mailbox($this->Account->Delimiter);
     $subs_folders = $this->_imapMail->list_subscribed_mailbox($this->Account->Delimiter);
     $this->_addLevelToFolderTree($folderCollection, $folders, $subs_folders);
     return $folderCollection;
 }
コード例 #3
0
 /**
  * @return FolderCollection
  */
 function GetLSubFolders()
 {
     ConvertUtils::SetLimits();
     $subsScrFolders = $this->_imapMail->list_subscribed_mailbox($this->Account->Delimiter);
     return $subsScrFolders;
 }