Ejemplo n.º 1
0
 public static function generateInputValueForAjaxSelectOrderableList($ids)
 {
     $reorderableList = new AjaxSelectReorderableList($ids, function () {
         return new PermissionGroup();
     }, function ($model) {
         return $model->getNameAndDescription();
     });
     return $reorderableList->getStringForInput();
 }
Ejemplo n.º 2
0
 public static function generateInputValueForAjaxSelectOrderableList($ids)
 {
     $reorderableList = new AjaxSelectReorderableList($ids, function () {
         return new QualityDefinition();
     }, function ($model) {
         return $model->name;
     });
     return $reorderableList->getStringForInput();
 }