yii2 get params code example
Example 1: yii2 get value from params
$value = Yii::$app->params['nameParameter'];
Example 2: yii2 get params from url
Yii::$app->request->queryParams['DataSearch']["TANGGAL"]
$value = Yii::$app->params['nameParameter'];
Yii::$app->request->queryParams['DataSearch']["TANGGAL"]