init
This commit is contained in:
13
helpers/UserGrid.php
Normal file
13
helpers/UserGrid.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace app\helpers;
|
||||
|
||||
class UserGrid extends CommonGrid {
|
||||
|
||||
public static function roles() {
|
||||
return function($model) {
|
||||
return $model->roleName;
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user