PHP Class IMP_Ftree_Prefs_Poll, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends IMP_Ftree_Prefs
显示文件 Open project: horde/horde

Public Methods

Method Description
__construct ( IMP_Ftree $ftree ) Constructor.
addPollList ( mixed $id ) Add elements to the poll list.
getPollList ( boolean $sort = false ) : array Returns the list of mailboxes to poll.
offsetGet ( $offset )
prunePollList ( ) Prune non-existent mailboxes from poll list.
removePollList ( mixed $id ) Remove elements from the poll list.
shutdown ( )

Method Details

__construct() public method

Constructor.
public __construct ( IMP_Ftree $ftree )
$ftree IMP_Ftree Tree object.

addPollList() public method

Add elements to the poll list.
public addPollList ( mixed $id )
$id mixed The element name or a list of element names to add.

getPollList() public method

Returns the list of mailboxes to poll.
public getPollList ( boolean $sort = false ) : array
$sort boolean Sort the directory list?
return array The list of mailboxes to poll (IMP_Mailbox objects).

offsetGet() public method

public offsetGet ( $offset )

prunePollList() public method

Prune non-existent mailboxes from poll list.
public prunePollList ( )

removePollList() public method

Remove elements from the poll list.
public removePollList ( mixed $id )
$id mixed The element name or a list of element names to remove.

shutdown() public method

public shutdown ( )