예제 #1
0
 public static function groupEnum()
 {
     $groupModel = new Group();
     $group = $groupModel->find();
     return Helper::renderEnum($group, 'id', 'name');
 }