Nag_TaskNag_Task handles as single task as well as a list of tasks and implements a recursive iterator to handle a (hierarchical) list of tasks.
Located in /lib/Driver.php (line 476)
integer
$alarm
(line 581)
The task alarm threshold.
string
$assignee
(line 511)
The task assignee.
string
$category
(line 574)
The task category
array
$children
= array() (line 637)
The sub-tasks.
boolean
$completed
(line 560)
Whether the task is completed.
integer
$completed_date
(line 567)
The completion date timestamp.
string
$complete_link
(line 602)
URL to complete the task.
string
$delete_link
(line 616)
URL to delete the task.
string
$desc
(line 525)
The task decription.
integer
$due
(line 539)
The due date timestamp.
string
$edit_link
(line 609)
URL to edit the task.
float
$estimate
(line 553)
The estimated task length.
string
$id
(line 483)
The task id.
integer
$indent
= 0 (line 644)
This task's idention (child) level.
boolean
$lastChild
(line 651)
Whether this is the last sub-task.
string
$name
(line 518)
The task title.
string
$owner
(line 504)
The task owner.
Nag_Task
$parent
(line 630)
The parent task.
string
$parent_id
= '' (line 623)
The parent task's id.
integer
$priority
(line 546)
The task priority.
boolean
$private
(line 588)
Whether the task is private.
integer
$start
(line 532)
The start date timestamp.
string
$tasklist
(line 490)
This task's tasklist id.
string
$uid
(line 497)
The task uid.
string
$view_link
(line 595)
URL to view the task.
array
$_dict
= array() (line 674)
Task id => pointer dictionary.
boolean
$_inlist
= false (line 659)
Internal flag.
integer
$_pointer
(line 667)
Internal pointer.
Constructor Nag_Task (line 683)
Constructor.
Takes a hash and returns a nice wrapper around it.
childrenCompleted (line 837)
Returns whether all sub tasks are completed.
count (line 852)
Returns the number of tasks including this and any sub tasks.
each (line 916)
Returns the next task iterating through all tasks and sub tasks.
Call reset() each time before looping through the tasks:
estimation (line 866)
Returns the estimated length for this and any sub tasks.
fromiCalendar (line 1278)
Creates a task from a Horde_iCalendar_vtodo object.
get (line 793)
Returns a sub task by its id.
The methods goes recursively through all sub tasks until it finds the searched task.
getFormattedDescription (line 880)
Format the description - link URLs, etc.
hasSubTasks (line 822)
Returns whether this task contains any sub tasks.
hasTasks (line 809)
Returns whether this is a task (not a container) or contains any sub tasks.
loadChildren (line 761)
Loads all sub-tasks.
merge (line 695)
Merges a task hash into this task object.
mergeChildren (line 776)
Merges an array of tasks into this task's children.
process (line 940)
Processes a list of tasks by adding action links, obscuring details of private tasks and calculating indentation.
reset (line 895)
Resets the tasks iterator.
Call this each time before looping through the tasks.
save (line 712)
Saves this task in the storage backend.
sort (line 1029)
Sorts sub tasks by the given criteria.
toAlarm (line 1113)
Returns an alarm hash of this task suitable for Horde_Alarm.
toHash (line 1084)
Returns a hash representation for this task.
toiCalendar (line 1179)
Exports this task in iCalendar format.
treeIcons (line 994)
Returns the HTML code for any tree icons, when displaying this task in a tree view.
Documentation generated on Sun, 30 Jan 2011 05:35:02 +0000 by phpDocumentor 1.4.3