protected function getCompatibilityId() {
        $controller = $this->controller ? $this->controller : Yii::$app->controller->id;
        if(strpos($controller, "/")) {
            $controller = substr($controller, strpos($controller, "/") + 1);
        }
        return str_replace(' ', '', ucwords(str_replace('-', ' ', $controller)));
    }
protected function getCompatibilityId() {
        $controller = $this->controller ? $this->controller : Yii::$app->controller->id;
        if(strpos($controller, "/")) {
            $controller = substr($controller, strpos($controller, "/") + 1);
        }
        return str_replace(' ', '', ucwords(str_replace('-', ' ', $controller)));
    }
protected function getCompatibilityId ( ) { $ controller = $ this -> controller ? $ this -> controller : Yii :: $ app -> controller -> id ; if ( strpos ( $ controller , "/" ) ) { $ controller = substr ( $ controller , strpos ( $ controller , "/" ) + 1 ) ; } return str_replace ( ' ' , '' , ucwords ( str_replace ( '-' , ' ' , $ controller ) ) ) ; }
Get the simpler access privileges name from the current controller
@return string
Get the simpler access privileges name from the current controller