__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)
string
name of folder in current subdirectory
string
absolute name of folder
bool
if true folder holds messages, if false it's just a parent for subfolders (Default: true)
array
init with given instances of \Zend\Mail\Storage\Folder as subfolders
__get(string $name) : \Zend\Mail\Storage\Folder
string
wanted subfolder
\Zend\Mail\Storage\Exception\InvalidArgumentException |
---|
\Zend\Mail\Storage\Folder
folder named $folder__set(string $name, \Zend\Mail\Storage\Folder $folder)
string
local name of subfolder
__toString() : string
string
global name of folder__unset(string $name)
string
local name of subfolder
current() : \Zend\Mail\Storage\Folder
\Zend\Mail\Storage\Folder
current foldergetChildren() : \Zend\Mail\Storage\Folder
\Zend\Mail\Storage\Folder
same as self::current()getGlobalName() : string
string
global namegetLocalName() : string
string
local namehasChildren() : bool
bool
current element has childrenisLeaf() : bool
bool
true if no subfoldersisSelectable() : bool
bool
selectablekey() : string
string
key/local name of current elementnext()
rewind()
valid() : bool
bool
check if there's a current element$folders : array
$globalName : string
$localName : string
$selectable : bool