Documentation

IMP_Ftree_Account_Vfolder extends IMP_Ftree_Account
in package

Implementation of the account object for Virtual Folders.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2013-2017 Horde LLC

license

http://www.horde.org/licenses/gpl GPL

Table of Contents

Constants

DELETE_ELEMENT  = 1
DELETE_ELEMENT_QUICK  = 2
DELETE_RECURSIVE  = 4
INIT  = 1
UNSUB  = 2
VFOLDER_KEY  = "vfolder\x00"

Properties

$_id  : string
Account ID.

Methods

__construct()  : mixed
Constructor.
__serialize()  : array<string|int, mixed>
__toString()  : string
__unserialize()  : void
delete()  : int
Return the mailbox selction to delete.
getList()  : array<string|int, mixed>
Return a list of mailbox to attribute pairs.
serialize()  : mixed
unserialize()  : mixed

Constants

DELETE_ELEMENT

public mixed DELETE_ELEMENT = 1

DELETE_ELEMENT_QUICK

public mixed DELETE_ELEMENT_QUICK = 2

DELETE_RECURSIVE

public mixed DELETE_RECURSIVE = 4

VFOLDER_KEY

public mixed VFOLDER_KEY = "vfolder\x00"

Properties

$_id

Account ID.

protected string $_id

Methods

__construct()

Constructor.

public __construct([mixed $id = null ]) : mixed
Parameters
$id : mixed = null

Account ID.

__serialize()

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

__toString()

public __toString() : string
Return values
string

Account ID.

__unserialize()

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

getList()

Return a list of mailbox to attribute pairs.

public getList([mixed $query = array() ][, mixed $mask = 0 ]) : array<string|int, mixed>
Parameters
$query : mixed = array()

Array of search queries.

$mask : mixed = 0

Integer mask (INIT and UNSUB constants).

Return values
array<string|int, mixed>

Array of elements to be added via IMP_Ftree#_insertElt().

serialize()

public serialize() : mixed

unserialize()

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

        
On this page

Search results