Status updates, SSL updates
This commit is contained in:
@@ -17,11 +17,13 @@ class StaticList_YesNo extends StaticList {
|
||||
);
|
||||
}
|
||||
|
||||
public static function get($value) {
|
||||
public static function get($value,$format=FALSE) {
|
||||
if (! $value)
|
||||
$value = 0;
|
||||
|
||||
return static::factory()->_get($value);
|
||||
return $format ? View::factory(Config::theme().'/label/bool')
|
||||
->set('label',$value ? 'label-success' : '')
|
||||
->set('column',static::factory()->_get($value)) : $value;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user