+ finish the task #536.

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-10-27 08:54:27 +00:00
parent 8227b6220e
commit 5082ddefd7
13 changed files with 419 additions and 35 deletions
+11
View File
@@ -115,6 +115,17 @@ class bugModel extends model
return $bug;
}
/**
* Get active Bugs.
*
* @access public
* @return void
*/
public function getActiveBugs($pager)
{
return $this->dao->select('*')->from(TABLE_BUG)->where('status')->eq('active')->andWhere('toTask')->eq(0)->page($pager)->fetchAll();
}
/**
* Update a bug.
*