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