PHP Class Horde_OpenXchange_Tasks, horde

Author: Jan Schneider ([email protected])
Inheritance: extends Horde_OpenXchange_EventsAndTasks
Datei anzeigen Open project: horde/horde

Protected Properties

Property Type Description
$_folderType string The folder category.

Public Methods

Method Description
__construct ( array $params = [] ) Constructor.
getTask ( integer $folder, integer $id ) : array Returns an task.
listTasks ( integer $folder = null, Horde_Date $start = null, Horde_Date $end = null ) : array Returns a list tasks.

Method Details

__construct() public method

Constructor.
public __construct ( array $params = [] )
$params array List of optional parameters: - client: (Horde_Http_Client) An HTTP client. - endpoint: (string) The URI of the OX API endpoint. - user: (string) Authentication user. - password: (string) Authentication password.

getTask() public method

Returns an task.
public getTask ( integer $folder, integer $id ) : array
$folder integer A folder ID.
$id integer An task ID.
return array The task hash.

listTasks() public method

Returns a list tasks.
public listTasks ( integer $folder = null, Horde_Date $start = null, Horde_Date $end = null ) : array
$folder integer A folder ID. If empty, returns tasks of all visible task lists.
$start Horde_Date Start date, defaults to epoch.
$end Horde_Date End date, defaults to maximum date possible.
return array List of task hashes.

Property Details

$_folderType protected_oe property

The folder category.
protected string $_folderType
return string