protected function getRightsFromMap($controller, $action, $module) {
        list ($rController, $allController) = $this->getRawAndModuleControllers($controller, $module);
        if (isset($this->finalMap[$rController][$action])) {
            return $this->finalMap[$rController][$action];
        } elseif (isset($this->finalMap[$allController][$action])) {
            return $this->finalMap[$allController][$action];
        } elseif (isset($this->finalMap[$rController]['*'])) {
            return $this->finalMap[$rController]['*'];
        } elseif (isset($this->finalMap[$allController]['*'])) {
            return $this->finalMap[$allController]['*'];
        } elseif (isset($this->finalMap['*'][$action])) {
            return $this->finalMap['*'][$action];
        } elseif (isset($this->finalMap['*']['*'])) {
            return $this->finalMap['*']['*'];
        } else {
            return array('*');
        }
    }
protected function getRightsFromMap($controller, $action, $module) {
        list ($rController, $allController) = $this->getRawAndModuleControllers($controller, $module);
        if (isset($this->finalMap[$rController][$action])) {
            return $this->finalMap[$rController][$action];
        } elseif (isset($this->finalMap[$allController][$action])) {
            return $this->finalMap[$allController][$action];
        } elseif (isset($this->finalMap[$rController]['*'])) {
            return $this->finalMap[$rController]['*'];
        } elseif (isset($this->finalMap[$allController]['*'])) {
            return $this->finalMap[$allController]['*'];
        } elseif (isset($this->finalMap['*'][$action])) {
            return $this->finalMap['*'][$action];
        } elseif (isset($this->finalMap['*']['*'])) {
            return $this->finalMap['*']['*'];
        } else {
            return array('*');
        }
    }
protected function getRightsFromMap ( $ controller , $ action , $ module ) { list ( $ rController , $ allController ) = $ this -> getRawAndModuleControllers ( $ controller , $ module ) ; if ( isset ( $ this -> finalMap [ $ rController ] [ $ action ] ) ) { return $ this -> finalMap [ $ rController ] [ $ action ] ; } elseif ( isset ( $ this -> finalMap [ $ allController ] [ $ action ] ) ) { return $ this -> finalMap [ $ allController ] [ $ action ] ; } elseif ( isset ( $ this -> finalMap [ $ rController ] [ '*' ] ) ) { return $ this -> finalMap [ $ rController ] [ '*' ] ; } elseif ( isset ( $ this -> finalMap [ $ allController ] [ '*' ] ) ) { return $ this -> finalMap [ $ allController ] [ '*' ] ; } elseif ( isset ( $ this -> finalMap [ '*' ] [ $ action ] ) ) { return $ this -> finalMap [ '*' ] [ $ action ] ; } elseif ( isset ( $ this -> finalMap [ '*' ] [ '*' ] ) ) { return $ this -> finalMap [ '*' ] [ '*' ] ; } else { return array ( '*' ) ; } }
Get rights associated for selected controller and action.
@param string $controller
@param string $action
@param string|null $module
@return string
Get rights associated for selected controller and action .