public static function generateInputValueForAjaxSelectOrderableList($ids) { $reorderableList = new AjaxSelectReorderableList($ids, function () { return new PermissionGroup(); }, function ($model) { return $model->getNameAndDescription(); }); return $reorderableList->getStringForInput(); }
public static function generateInputValueForAjaxSelectOrderableList($ids) { $reorderableList = new AjaxSelectReorderableList($ids, function () { return new QualityDefinition(); }, function ($model) { return $model->name; }); return $reorderableList->getStringForInput(); }