$tasks
$tasks : \Nag_Task
A Nag_Task instance holding the current task list.
Nag storage driver for handling smart tasklists.
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.
$_driver : \Nag_Driver
The composed Nag_Driver
$_search : \Nag_Search
The search query bulding this smartlist.
__construct(string $tasklist, array $params = array()) : \Nag_Driver
Constructs a new SQL 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
get(string $taskId) : \Nag_Task
Retrieves one task from the database.
string | $taskId | The id of the task to retrieve. |
A Nag_Task object.
getByUID( $uids, array $tasklists = null, boolean $getall = true) : \Nag_Task
Retrieves one or multiple tasks from the database by UID.
$uids | ||
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.