createAbsoluteUrl() public method
Creates an absolute URL using the given route and query parameters.
This method prepends the URL created by createUrl() with the $hostInfo.
Note that unlike yii\helpers\Url::toRoute(), this method always treats the given route as an absolute route.
See also createUrl().
public string createAbsoluteUrl ( $params, $scheme = null ) | ||
---|---|---|
$params | string|array |
Use a string to represent a route (e.g. |
$scheme | string |
The scheme to use for the url (either |
return | string |
The created URL |
Please login to continue.