Yii Get Current Url
Yii Get Current Url : Current url in yii is obtained by using the method Url::current();
Syntax : Yii Get Current Url
$currentUrl = Url::current();
The above method returns the current url with query string in yii.
Advertisements
Add Comment
📖 Read More
- 1. Yii Redirect to url
- 2. Yii Delete Query Builder
- 3. Yii Get Current Date Time
- 4. Yii Get Last Inserted Id
- 5. Yii session