Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
string $_currentFolder = ''
name of current folder
string $_delim = ''
delim char for subfolders
Zend_Mail_Storage_Folder $_rootFolder = ''
Zend_Mail_Storage_Folder root folder for folder structure
string $_rootdir = ''
rootdir of folder structure
__construct(
$params $params
)
:
Create instance with parameters Supported parameters are: - dirname rootdir of maildir structure - delim delim char for folder structur, default is '.' - folder intial selected folder, default is 'INBOX'
_buildFolderTree(
)
:
null
find all subfolders and mbox files for folder structure
Result is save in Zend_Mail_Storage_Folder instances with the root in $this->_rootFolder. $parentFolder and $parentGlobalName are only used internally for recursion.
getCurrentFolder(
)
:
Zend_Mail_Storage_Folder
get Zend_Mail_Storage_Folder instance for current folder
getFolders(
string $rootFolder
=
null
)
:
Zend_Mail_Storage_Folder
get root folder or given folder
selectFolder(
Zend_Mail_Storage_Folder|string $globalName
)
:
null
select given folder
folder must be selectable!