getUrl() public method
Returns the URL to this page.
The URL will be returned by calling the URL manager of the application with $route and the provided parameters.
public string getUrl ( $params = [] ) | ||
---|---|---|
$params | array |
The GET parameters for creating the URL |
return | string |
The URL to this page |
throws | yii\base\InvalidConfigException |
if $route is not set or invalid |
Please login to continue.