Documentation

Horde_Imap_Client_Data_Namespace
in package
implements Serializable

Namespace data.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2013-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

since
2.21.0

Interfaces, Classes, Traits and Enums

Serializable

Table of Contents

NS_OTHER  = 2
NS_PERSONAL  = 1
NS_SHARED  = 3
$base  : string
$delimiter  : string
$hidden  : bool
$name  : string
$translation  : string
$type  : int
$_data  : array<string|int, mixed>
Data object.
__get()  : mixed
__isset()  : mixed
__serialize()  : array<string|int, mixed>
__set()  : mixed
__toString()  : mixed
__unserialize()  : mixed
serialize()  : mixed
stripNamespace()  : string
Strips namespace information from the given mailbox name.
unserialize()  : mixed

Constants

Properties

$base read-only

public string $base

The namespace base ($name without trailing delimiter) (UTF-8).

$delimiter

public string $delimiter

The namespace delimiter.

$hidden

public bool $hidden

Is this a hidden namespace?

$name

public string $name

The namespace name (UTF-8).

$translation

public string $translation

Returns the translated name of the namespace (UTF-8).

$type

public int $type

The namespace type. Either self::NS_PERSONAL, self::NS_OTHER, or self::NS_SHARED.

$_data

Data object.

protected array<string|int, mixed> $_data = array()

Methods

__get()

public __get(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

__isset()

public __isset(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

__serialize()

public __serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

__set()

public __set(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

__unserialize()

public __unserialize(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>
Return values
mixed

serialize()

public serialize() : mixed
Return values
mixed

stripNamespace()

Strips namespace information from the given mailbox name.

public stripNamespace(string $mbox) : string
Parameters
$mbox : string

Mailbox name.

Return values
string

Mailbox name with namespace prefix stripped.

unserialize()

public unserialize(mixed $data) : mixed
Parameters
$data : mixed
Return values
mixed

Search results