protected function checkParameters()
    {
        if (isset($this->parameters[self::PARAMETER_DEFAULT_LANGUAGE])) {
            self::$DEFAULT_LANGUAGE = $this->parameters[self::PARAMETER_DEFAULT_LANGUAGE];
            unset($this->parameters[self::PARAMETER_DEFAULT_LANGUAGE]);
        }
        if (isset($this->parameters[self::PARAMETER_ACCEPTED_LANGUAGES])) {
            $this->acceptedLanguages = explode(',', $this->parameters[self::PARAMETER_ACCEPTED_LANGUAGES]);
            unset($this->parameters[self::PARAMETER_ACCEPTED_LANGUAGES]);
        }
        if (isset($this->parameters[self::PARAMETER_LANGUAGE_PARAMETER_NAME])) {
            $this->languageParameterName = $this->parameters[self::PARAMETER_LANGUAGE_PARAMETER_NAME];
            unset($this->parameters[self::PARAMETER_LANGUAGE_PARAMETER_NAME]);
        }
        if (isset($this->parameters[self::PARAMETER_FORCE_REDIRECT])) {
            $this->forceRedirect = (bool)$this->parameters[self::PARAMETER_FORCE_REDIRECT];
            unset($this->parameters[self::PARAMETER_FORCE_REDIRECT]);
        }
    }
protected function checkParameters()
    {
        if (isset($this->parameters[self::PARAMETER_DEFAULT_LANGUAGE])) {
            self::$DEFAULT_LANGUAGE = $this->parameters[self::PARAMETER_DEFAULT_LANGUAGE];
            unset($this->parameters[self::PARAMETER_DEFAULT_LANGUAGE]);
        }
        if (isset($this->parameters[self::PARAMETER_ACCEPTED_LANGUAGES])) {
            $this->acceptedLanguages = explode(',', $this->parameters[self::PARAMETER_ACCEPTED_LANGUAGES]);
            unset($this->parameters[self::PARAMETER_ACCEPTED_LANGUAGES]);
        }
        if (isset($this->parameters[self::PARAMETER_LANGUAGE_PARAMETER_NAME])) {
            $this->languageParameterName = $this->parameters[self::PARAMETER_LANGUAGE_PARAMETER_NAME];
            unset($this->parameters[self::PARAMETER_LANGUAGE_PARAMETER_NAME]);
        }
        if (isset($this->parameters[self::PARAMETER_FORCE_REDIRECT])) {
            $this->forceRedirect = (bool)$this->parameters[self::PARAMETER_FORCE_REDIRECT];
            unset($this->parameters[self::PARAMETER_FORCE_REDIRECT]);
        }
    }
protected function checkParameters ( ) { if ( isset ( $ this -> parameters [ self :: PARAMETER_DEFAULT_LANGUAGE ] ) ) { self :: $ DEFAULT_LANGUAGE = $ this -> parameters [ self :: PARAMETER_DEFAULT_LANGUAGE ] ; unset ( $ this -> parameters [ self :: PARAMETER_DEFAULT_LANGUAGE ] ) ; } if ( isset ( $ this -> parameters [ self :: PARAMETER_ACCEPTED_LANGUAGES ] ) ) { $ this -> acceptedLanguages = explode ( ',' , $ this -> parameters [ self :: PARAMETER_ACCEPTED_LANGUAGES ] ) ; unset ( $ this -> parameters [ self :: PARAMETER_ACCEPTED_LANGUAGES ] ) ; } if ( isset ( $ this -> parameters [ self :: PARAMETER_LANGUAGE_PARAMETER_NAME ] ) ) { $ this -> languageParameterName = $ this -> parameters [ self :: PARAMETER_LANGUAGE_PARAMETER_NAME ] ; unset ( $ this -> parameters [ self :: PARAMETER_LANGUAGE_PARAMETER_NAME ] ) ; } if ( isset ( $ this -> parameters [ self :: PARAMETER_FORCE_REDIRECT ] ) ) { $ this -> forceRedirect = ( bool ) $ this -> parameters [ self :: PARAMETER_FORCE_REDIRECT ] ; unset ( $ this -> parameters [ self :: PARAMETER_FORCE_REDIRECT ] ) ; } }
Checks to see if any parameters are given from the configuration in the CMS
Checks to see if any parameters are given from the configuration in the CMS