yii2 request code example
Example: Yii::app()->request->get yii1
For get & post in yii1.1
Yii::app()->request->getPost($key)
Yii::app()->request->getQuery($key, $defaultValue)
For get & post in yii1.1
Yii::app()->request->getPost($key)
Yii::app()->request->getQuery($key, $defaultValue)