From 622da5f3cdf7ccb979334e42e115f0538c8dd00b Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 16 Jan 2009 05:01:22 +0000 Subject: Rename Task to Task_Definition to avoid confusion with Task_Model. Order the finished tasks by update time in the task list. --- core/libraries/Task_Definition.php | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 core/libraries/Task_Definition.php (limited to 'core/libraries/Task_Definition.php') diff --git a/core/libraries/Task_Definition.php b/core/libraries/Task_Definition.php new file mode 100644 index 00000000..454b39ad --- /dev/null +++ b/core/libraries/Task_Definition.php @@ -0,0 +1,51 @@ +callback = $callback; + return $this; + } + + function description($description) { + $this->description = $description; + return $this; + } + + function name($name) { + $this->name = $name; + return $this; + } + + function severity($severity) { + $this->severity = $severity; + return $this; + } + +} -- cgit v1.2.3