RESOURCE_PRIVATE
RESOURCE_PRIVATE
Return private resources.
Horde_OpenXchange_Tasks is the interface class for the tasks storage of an Open-Xchange server.
listResources(string $type = self::RESOURCE_PRIVATE) : array
Returns a list of visible groupware resources.
string | $type | An resource type, one of the RESOURCE_* constants. |
List of resources with resource IDs as keys and information hashes as values.
listTasks(integer $folder = null, \Horde_Date $start = null, \Horde_Date $end = null) : array
Returns a list tasks.
integer | $folder | A folder ID. If empty, returns tasks of all visible task lists. |
\Horde_Date | $start | Start date, defaults to epoch. |
\Horde_Date | $end | End date, defaults to maximum date possible. |
List of task hashes.
_listObjects(integer $folder = null, \Horde_Date $start = null, \Horde_Date $end = null) : array
Returns a list of events or tasks.
integer | $folder | A folder ID. If empty, returns objects of all visible resources. |
\Horde_Date | $start | Start date, defaults to epoch. |
\Horde_Date | $end | End date, defaults to maximum date possible. |
List of object hashes.
_request(string $method, string $namespace, array $params, array|string $data = array()) : array
Sends a request and parses the response.
string | $method | A HTTP request method (uppercase). |
string | $namespace | An API namespace. |
array | $params | URL parameters. |
array|string | $data | Request data. |
The decoded result data or null if no data has been returned but the request was still successful.