class AllTasks(IndexView): (source)
Known subclasses: zim.plugins.tasklist.indexer.ActiveTasks
, zim.plugins.tasklist.indexer.OpenProjectsTasks
, zim.plugins.tasklist.indexer.WaitingTasks
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | count_labels_and_tags_pages |
No summary |
Method | get_path |
Get the Path for the source of a task @param task: the task (as returned by list_tasks() @returns: an IndexPath object |
Method | get_task |
Undocumented |
Method | list_tasks |
No summary |
Method | set_status_included |
Undocumented |
Constant | STYLE |
Undocumented |
Instance Variable | status |
Undocumented |
Method | _count_rows |
Undocumented |
Class Variable | _include_not_started |
Undocumented |
Class Variable | _sql_filter |
Undocumented |
Instance Variable | _pages |
Undocumented |
Instance Variable | _status_sql |
Undocumented |
Inherited from IndexView
:
Class Method | new_from_index |
Undocumented |
Instance Variable | db |
Undocumented |
Parameters | |
task_labels | list of task labels to be parsed |
intersect | 2-tuple of labels and tags already selected, will return count based on intersecting with this selection |
Returns | |
3 maps, one for label count, one for tag count and one for pagenames |
Path
for the source of a taskParameters | |
task | the task (as returned by list_tasks() |
Returns | |
an IndexPath object |
zim.plugins.tasklist.indexer.ActiveTasks
, zim.plugins.tasklist.indexer.OpenProjectsTasks
Parameters | |
parent | the parent task (as returned by this method) or None to list all top level tasks |
_sql_filter | sql snippet, defaults to class attribute - private param used by sub-classes, do not use elsewhere |
_include_not_started | boolean, defaults to class attribute - private param used by sub-classes, do not use elsewhere |
Returns | |
a iterator of tasks at this level as sqlite Row objects |
Undocumented