__construct()
__get()
__set()
__toString()
__unset()
current()
getChildren()
getGlobalName()
getLocalName()
hasChildren()
isLeaf()
isSelectable()
key()
next()
rewind()
valid()
$folders
$globalName
$localName
$selectable
__construct(string $localName, string $globalName, bool $selectable, array $folders)
stringname of folder in current subdirectory
stringabsolute name of folder
boolif true folder holds messages, if false it's just a parent for subfolders (Default: true)
arrayinit with given instances of \Zend\Mail\Storage\Folder as subfolders
__get(string $name) : \Zend\Mail\Storage\Folder
stringwanted subfolder
\Zend\Mail\Storage\Exception\InvalidArgumentException |
|---|
\Zend\Mail\Storage\Folderfolder named $folder__set(string $name, \Zend\Mail\Storage\Folder $folder)
stringlocal name of subfolder
__toString() : string
stringglobal name of folder__unset(string $name)
stringlocal name of subfolder
current() : \Zend\Mail\Storage\Folder
\Zend\Mail\Storage\Foldercurrent foldergetChildren() : \Zend\Mail\Storage\Folder
\Zend\Mail\Storage\Foldersame as self::current()getGlobalName() : string
stringglobal namegetLocalName() : string
stringlocal namehasChildren() : bool
boolcurrent element has childrenisLeaf() : bool
booltrue if no subfoldersisSelectable() : bool
boolselectablekey() : string
stringkey/local name of current elementnext()
rewind()
valid() : bool
boolcheck if there's a current element$folders : array
$globalName : string
$localName : string
$selectable : bool