create a new mail folder instance
Zend_Mail_Folder
__construct
(string $localName, [string $globalName = ''], [bool $selectable = true], [ $folders = array()])
-
string
$localName: name of folder in current subdirectory
-
string
$globalName: absolute name of folder
-
bool
$selectable: if true folder holds messages, if false it's just a parent for subfolders
-
array
$folders: init with given instances of Zend_Mail_Folder as subfolders
implements Iterator::current()
Implementation of:
- RecursiveIterator::current
implements RecursiveIterator::getChildren()
Implementation of:
- RecursiveIterator::getChildren
get global name
string
getGlobalName
()
get local name
string
getLocalName
()
implements RecursiveIterator::hasChildren()
bool
hasChildren
()
Implementation of:
- RecursiveIterator::hasChildren
check if folder has no subfolder
bool
isLeaf
()
is this folder selectable?
bool
isSelectable
()
implements Iterator::key()
string
key
()
Implementation of:
- RecursiveIterator::key
implements Iterator::next()
void
next
()
Implementation of:
- RecursiveIterator::next
implements Iterator::rewind()
void
rewind
()
Implementation of:
- RecursiveIterator::rewind
implements Iterator::valid()
bool
valid
()
Implementation of:
- RecursiveIterator::valid
get subfolder named $name
-
string
$name: wanted subfolder
add or replace subfolder named $name
-
string
$name: local name of subfolder
-
Zend_Mail_Folder
$folder: instance for new subfolder
magic method for easy output of global name
string
__toString
()