$tasks
$tasks : \Nag_Task
A Nag_Task instance holding the current task list.
Nag driver classes for the Kolab IMAP server.
Copyright 2004-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
$tasks : \Nag_Task
A Nag_Task instance holding the current task list.
__construct(string $tasklist, array $params = array()) : \Nag_Driver
Constructs a new Kolab storage object.
string | $tasklist | The tasklist to load. |
array | $params | A hash containing connection parameters. |
add(array $task) : array
Adds a task and handles notification.
array | $task | A hash with the following possible properties:
|
array(ID,UID) of new task
getChildren(string $parentId, boolean $include_history = true) : array
Retrieves sub-tasks from the database.
string | $parentId | The parent id for the sub-tasks to retrieve. |
boolean | $include_history | Include created/modified info? Not currently honored. |
List of sub-tasks.
get(string $taskId) : \Nag_Task
Retrieves one task from the backend.
string | $taskId | The id of the task to retrieve. |
A Nag_Task object.
getByUID(string $uid, array $tasklists = null, boolean $getall = true) : \Nag_Task
Retrieves one task from the database by UID.
string | $uid | The UID of the task to retrieve. |
array | $tasklists | An optional array of tasklists to search. |
boolean | $getall | If true, return all instances of the task, otherwise only one. Attempts to find the instance owned by the current user. |
A Nag_Task object.
_add(array $task) : string
Adds a task to the backend storage.
array | $task | A hash with the following possible properties:
|
The Nag ID of the new task.
_getObject(array $task) : array
Retrieve the Kolab object representations for the task.
array | $task | A hash with the following possible properties:
|
The Kolab object.