Request getRequest() Get the request instance. Return Value Request
string full() Get the full URL for the current request. Return Value string
void forceSchema(string $schema) Force the schema for URLs. Parameters string $schema Return Value void
void forceRootUrl(string $root) Set the forced root URL. Parameters string $root Return Value void
string current() Get the current URL for the request. Return Value string
string assetFrom(string $root, string $path, bool|null $secure = null) Generate the URL to an asset from a custom root domain such as CDN, etc. Parameters string $root string $path bool|null $secure Return Value string
string asset(string $path, bool $secure = null) Generate the URL to an application asset. Parameters string $path bool $secure Return Value string
string action(string $action, mixed $parameters = array(), bool $absolute = true) Get the URL to a controller action. Parameters string $action mixed $parameters bool $absolute Return Value string Exceptions InvalidArgumentException
Page 58 of 996