PHP Класс IMP_Ftree_Account, horde

Автор: Michael Slusarz ([email protected])
Наследование: implements Serializable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_id string Account ID.

Открытые методы

Метод Описание
__construct ( string $id = IMP_Ftree::BASE_ELT ) Constructor.
__toString ( ) : string
delete ( IMP_Ftree_Element $elt ) : integer Return the mailbox selction to delete.
getList ( array $query = [], mixed $mask ) : array Return a list of mailbox to attribute pairs.
serialize ( )
unserialize ( $data )

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( string $id = IMP_Ftree::BASE_ELT )
$id string Account ID.

__toString() публичный Метод

public __toString ( ) : string
Результат string Account ID.

delete() абстрактный публичный Метод

Return the mailbox selction to delete.
abstract public delete ( IMP_Ftree_Element $elt ) : integer
$elt IMP_Ftree_Element Element to delete.
Результат integer Mask of mailboxes to delete.

getList() абстрактный публичный Метод

Return a list of mailbox to attribute pairs.
abstract public getList ( array $query = [], mixed $mask ) : array
$query array Array of search queries.
$mask mixed Integer mask (INIT and UNSUB constants).
Результат array Array of elements to be added via IMP_Ftree#_insertElt().

serialize() публичный Метод

public serialize ( )

unserialize() публичный Метод

public unserialize ( $data )

Описание свойств

$_id защищенное свойство

Account ID.
protected string $_id
Результат string