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
DetailsZend_Mail_Storage_Folder $_rootFolder = ''Zend_Mail_Storage_Folder root folder for folder structure
Detailsstring $_rootdir = ''rootdir of folder structure
Details__construct(
$params $params
)
:
Create instance with parameters
Disallowed parameters are: - filename use Zend_Mail_Storage_Mbox for a single file Supported parameters are: - dirname rootdir of mbox structure - folder intial selected folder, default is 'INBOX'
Details__sleep(
)
:
arraymagic method for serialize()
with this method you can cache the mbox class
Details__wakeup(
)
:
nullmagic method for unserialize()
with this method you can cache the mbox class
Details_buildFolderTree(
string $currentDir, Zend_Mail_Storage_Folder|null $parentFolder
=
null, string $parentGlobalName
)
:
nullfind 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.
DetailsgetCurrentFolder(
)
:
Zend_Mail_Storage_Folderget Zend_Mail_Storage_Folder instance for current folder
DetailsgetFolders(
string $rootFolder
=
null
)
:
Zend_Mail_Storage_Folderget root folder or given folder
DetailsselectFolder(
Zend_Mail_Storage_Folder|string $globalName
)
:
nullselect given folder
folder must be selectable!
Details