protected function parseMapRow($controller, $action, $rights) {
        $controller= explode(',', $controller); //allow for multiple controllers on the same line separated by ,
        $rights = explode(',', $rights);
        foreach ($rights as &$right) {
            $right = trim($right);
        }
        $actionsList = explode(',', $action);
        foreach ($actionsList as $name) {
            foreach ($controller as $c){
                $this->finalMap[trim($c)][trim($name)] = $rights;
            }
        }
    }
protected function parseMapRow($controller, $action, $rights) {
        $controller= explode(',', $controller); //allow for multiple controllers on the same line separated by ,
        $rights = explode(',', $rights);
        foreach ($rights as &$right) {
            $right = trim($right);
        }
        $actionsList = explode(',', $action);
        foreach ($actionsList as $name) {
            foreach ($controller as $c){
                $this->finalMap[trim($c)][trim($name)] = $rights;
            }
        }
    }
protected function parseMapRow ( $ controller , $ action , $ rights ) { $ controller = explode ( ',' , $ controller ) ; //allow for multiple controllers on the same line separated by , $ rights = explode ( ',' , $ rights ) ; foreach ( $ rights as & $ right ) { $ right = trim ( $ right ) ; } $ actionsList = explode ( ',' , $ action ) ; foreach ( $ actionsList as $ name ) { foreach ( $ controller as $ c ) { $ this -> finalMap [ trim ( $ c ) ] [ trim ( $ name ) ] = $ rights ; } } }
Parses a single config row
@param string $controller
@param string $action
@param string $rights
Parses a single config row