示例#1
0
 public function behaviors()
 {
     $behaviours = parent::behaviors();
     $behaviours['rbac']['actions']['profile'] = ['permission' => CoreGlobal::PERM_USER];
     $behaviours['verbs']['actions']['profile'] = ['post'];
     return $behaviours;
 }
示例#2
0
 public function __construct($id, $module, $config = [])
 {
     parent::__construct($id, $module, $config);
 }