Added Tasks to KH
This commit is contained in:
@@ -18,6 +18,18 @@ class Model_Account extends Model_Auth_UserDefault {
|
||||
'service' => array('far_key'=>'id'),
|
||||
);
|
||||
|
||||
protected $_display_filters = array(
|
||||
'date_orig'=>array(
|
||||
array('Config::date',array(':value')),
|
||||
),
|
||||
'date_last'=>array(
|
||||
array('Config::date',array(':value')),
|
||||
),
|
||||
'status'=>array(
|
||||
array('StaticList_YesNo::display',array(':value')),
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Return an account name
|
||||
*/
|
||||
@@ -32,10 +44,6 @@ class Model_Account extends Model_Auth_UserDefault {
|
||||
return sprintf('%02s-%04s',Config::siteid(),$this->id);
|
||||
}
|
||||
|
||||
public function date_last() {
|
||||
return Config::date($this->date_last);
|
||||
}
|
||||
|
||||
public function title($name) {
|
||||
return StaticList_Title::form($name,$this->title);
|
||||
}
|
||||
|
@@ -78,3 +78,4 @@ class Model_Auth_UserDefault extends Model_Auth_User {
|
||||
->as_array();
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user