Added Account list, DB changes for account

This commit is contained in:
Deon George
2012-07-30 17:47:28 +10:00
parent 84145ac24f
commit 8f56da789e
6 changed files with 158 additions and 32 deletions

View File

@@ -208,5 +208,13 @@ abstract class ORMOSB extends ORM {
return empty($mc[$key]) ? '' : $mc[$key];
}
protected function _active() {
return $this->where('active','=',TRUE);
}
public function list_active() {
return $this->_active()->find_all();
}
}
?>