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