protected function loadFromQueryParam()
    {
        if ( ! $this->queryParamField) {
            return false;
        }

        if (Yii::$app->state < WebApplication::STATE_HANDLING_REQUEST) {
            Yii::$app->request->resolve();
        }

        if (($language = Yii::$app->request->get($this->queryParamField, false))) {
            return $language;
        }

        return false;
    }
protected function loadFromQueryParam()
    {
        if ( ! $this->queryParamField) {
            return false;
        }

        if (Yii::$app->state < WebApplication::STATE_HANDLING_REQUEST) {
            Yii::$app->request->resolve();
        }

        if (($language = Yii::$app->request->get($this->queryParamField, false))) {
            return $language;
        }

        return false;
    }
protected function loadFromQueryParam ( ) { if ( ! $ this -> queryParamField ) { return false ; } if ( Yii :: $ app -> state < WebApplication :: STATE_HANDLING_REQUEST ) { Yii :: $ app -> request -> resolve ( ) ; } if ( ( $ language = Yii :: $ app -> request -> get ( $ this -> queryParamField , false ) ) ) { return $ language ; } return false ; }
Load language from url query param.

@return string|bool
Load language from url query param .