/** * @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; }
/** * @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; }
/** * @return FolderCollection */ function GetLSubFolders() { ConvertUtils::SetLimits(); $subsScrFolders = $this->_imapMail->list_subscribed_mailbox($this->Account->Delimiter); return $subsScrFolders; }