PHP Class Horde_Imap_Client_Namespace_List, horde

Since: 2.21.0
Author: Michael Slusarz ([email protected])
Inheritance: implements ArrayAccess, implements Countable, implements IteratorAggregate
Show file Open project: horde/horde

Protected Properties

Property Type Description
$_ns array The list of namespace objects.

Public Methods

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 )

Method Details

__construct() public method

Constructor.
public __construct ( array $ns = [] )
$ns array The list of namespace objects.

count() public method

public count ( )

getIterator() public method

public getIterator ( )

getNamespace() public method

Get namespace info for a full mailbox path.
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.

offsetExists() public method

public offsetExists ( $offset )

offsetGet() public method

public offsetGet ( $offset )

offsetSet() public method

public offsetSet ( $offset, $value )

offsetUnset() public method

public offsetUnset ( $offset )

Property Details

$_ns protected property

The list of namespace objects.
protected array $_ns
return array