PHP Class IMP_Ftree_Account, horde

Author: Michael Slusarz ([email protected])
Inheritance: implements Serializable
Exibir arquivo Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_id string Account ID.

Public Methods

Method Description
__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 )

Method Details

__construct() public method

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

__toString() public method

public __toString ( ) : string
return string Account ID.

delete() abstract public method

Return the mailbox selction to delete.
abstract public delete ( IMP_Ftree_Element $elt ) : integer
$elt IMP_Ftree_Element Element to delete.
return integer Mask of mailboxes to delete.

getList() abstract public method

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).
return array Array of elements to be added via IMP_Ftree#_insertElt().

serialize() public method

public serialize ( )

unserialize() public method

public unserialize ( $data )

Property Details

$_id protected_oe property

Account ID.
protected string $_id
return string