src/ngrest/base/NgRestModel.php
public function getNgRestCallType()
    {
        if ($this->_ngrestCallType === null) {
            $this->_ngrestCallType = (!Yii::$app instanceof \yii\web\Application) ? false : Yii::$app->request->get('ngrestCallType', false);
        }

        return $this->_ngrestCallType;
    }
public function getNgRestCallType()
    {
        if ($this->_ngrestCallType === null) {
            $this->_ngrestCallType = (!Yii::$app instanceof \yii\web\Application) ? false : Yii::$app->request->get('ngrestCallType', false);
        }

        return $this->_ngrestCallType;
    }
public function getNgRestCallType ( ) { if ( $ this -> _ngrestCallType === null ) { $ this -> _ngrestCallType = ( ! Yii :: $ app instanceof \ yii \ web \ Application ) ? false : Yii :: $ app -> request -> get ( 'ngrestCallType' , false ) ; } return $ this -> _ngrestCallType ; }
Determine the current call type based on get params as they can change the output behavior to make the ngrest crud list view.

@return boolean|string
Determine the current call type based on get params as they can change the output behavior to make the ngrest crud list view .