Property | Type | Description | |
---|---|---|---|
$_ns | array | The list of namespace objects. |
Method | Description | |
---|---|---|
__construct ( array $ns = [] ) | Constructor. | |
count ( ) | ||
getIterator ( ) | ||
getNamespace ( string $mbox, boolean $personal = false ) : mixed | Get namespace info for a full mailbox path. | |
offsetExists ( $offset ) | ||
offsetGet ( $offset ) | ||
offsetSet ( $offset, $value ) | ||
offsetUnset ( $offset ) |
public __construct ( array $ns = [] ) | ||
$ns | array | The list of namespace objects. |
public getNamespace ( string $mbox, boolean $personal = false ) : mixed | ||
$mbox | string | The mailbox path. |
$personal | boolean | If true, will return the empty namespace only if it is a personal namespace. |
return | mixed | The Horde_Imap_Client_Data_Namespace object for the mailbox path, or null if the path doesn't exist. |