src/apis/CommonController.php
public function actionNgrestFilter()
    {
        $apiEndpoint = Yii::$app->request->getBodyParam('apiEndpoint');
        $filterName = Yii::$app->request->getBodyParam('filterName');
        
        return Yii::$app->adminuser->identity->setting->set('ngrestfilter.'.$apiEndpoint, $filterName);
    }
public function actionNgrestFilter()
    {
        $apiEndpoint = Yii::$app->request->getBodyParam('apiEndpoint');
        $filterName = Yii::$app->request->getBodyParam('filterName');
        
        return Yii::$app->adminuser->identity->setting->set('ngrestfilter.'.$apiEndpoint, $filterName);
    }
public function actionNgrestFilter ( ) { $ apiEndpoint = Yii :: $ app -> request -> getBodyParam ( 'apiEndpoint' ) ; $ filterName = Yii :: $ app -> request -> getBodyParam ( 'filterName' ) ; return Yii :: $ app -> adminuser -> identity -> setting -> set ( 'ngrestfilter.' . $ apiEndpoint , $ filterName ) ; }
Set the lastest ngrest filter selection in the User Settings.

@return boolean
Set the lastest ngrest filter selection in the User Settings .