Answers for "yii get current url with params"

2

yii current url

// Yii 1
Yii::app()->request->url

// Yii 2
Yii::$app->request->url
Posted by: Guest on July-29-2020
0

yii2 get params from url

Yii::$app->request->queryParams['DataSearch']["TANGGAL"]
Posted by: Guest on April-28-2021

Browse Popular Code Answers by Language