Yii2 unset post request array after save -


i have post array

yii::$app->request->post() 

how can unset request array after performing insert operation , before rendering view

you use :

yii::$app->request->bodyparams = []; 

read more $bodyparams.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -