Fully Qualified Name: | Zend\Mail\Storage\Folder\Mbox |
Extends: | Mbox |
Implements: | FolderInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Create instance with parameters | Mbox |
__sleep() | magic method for serialize() | Mbox |
__wakeup() | magic method for unserialize(), with this method you can cache the mbox class | Mbox |
getCurrentFolder() | get Storage\Folder instance for current folder | Mbox |
getFolders() | get root folder or given folder | Mbox |
selectFolder() | select given folder | Mbox |
Create instance with parameters
Disallowed parameters are:
Supported parameters are:
Parameter Name | Type | Description |
---|---|---|
array | $params | |
$params |
Returns:
magic method for serialize()
with this method you can cache the mbox class
Returns: array name of variables
magic method for unserialize(), with this method you can cache the mbox class
Returns:
get Storage\Folder instance for current folder
Returns: \Storage\Folder instance of current folder
get root folder or given folder
Parameter Name | Type | Description |
---|---|---|
$rootFolder | string | get |
Returns: \Storage\Folder root or wanted folder
select given folder
folder must be selectable!
Parameter Name | Type | Description |
---|---|---|
$globalName | \Storage\Folder|string | global |
Returns: