Retrieves one or multiple tasks from the database by UID.
public getByUID ( $uids, array $tasklists = null, boolean $getall = true ) : Nag_Task | ||
$tasklists | array | An optional array of tasklists to search. |
$getall | boolean | If true, return all instances of the task, otherwise only one. Attempts to find the instance owned by the current user. |
return | Nag_Task | A Nag_Task object. |