private function _isAllowedComponentClass($userRow, $componentClass)
    {
        if ($this->_isAllowedComponentClassByRole($this->_getRole($userRow), $componentClass)) {
            return true;
        }
        foreach ($this->_getAdditionalRoles($userRow) as $role) {
            if ($this->_isAllowedComponentClassByRole($role, $componentClass)) {
                return true;
            }
        }
        return false;
    }
private function _isAllowedComponentClass($userRow, $componentClass)
    {
        if ($this->_isAllowedComponentClassByRole($this->_getRole($userRow), $componentClass)) {
            return true;
        }
        foreach ($this->_getAdditionalRoles($userRow) as $role) {
            if ($this->_isAllowedComponentClassByRole($role, $componentClass)) {
                return true;
            }
        }
        return false;
    }
private function _isAllowedComponentClass ( $ userRow , $ componentClass ) { if ( $ this -> _isAllowedComponentClassByRole ( $ this -> _getRole ( $ userRow ) , $ componentClass ) ) { return true ; } foreach ( $ this -> _getAdditionalRoles ( $ userRow ) as $ role ) { if ( $ this -> _isAllowedComponentClassByRole ( $ role , $ componentClass ) ) { return true ; } } return false ; }
darum erstmal private gemacht
darum erstmal private gemacht