Updates to Module administration

This commit is contained in:
Deon George
2013-05-29 21:43:59 +10:00
parent 705518e9b3
commit d4168146ee
16 changed files with 287 additions and 215 deletions

View File

@@ -21,11 +21,13 @@ class Model_Module extends ORM_OSB {
'module_method'=>array('far_key'=>'id'),
);
protected $_sorting = array(
'status'=>'DESC',
'name'=>'ASC',
);
protected $_display_filters = array(
'external'=>array(
array('StaticList_YesNo::get',array(':value')),
),
'name'=>array(
array('strtoupper',array(':value')),
),
@@ -34,6 +36,10 @@ class Model_Module extends ORM_OSB {
),
);
public function external($render=FALSE) {
return $this->label_bool('external',$render);
}
/**
* Return an instance of this Module's Model
*