$kirby->url()
Returns a system url
$kirby->url(string $type = 'index', bool $object = false): string|Kirby\Http\Uri
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $type | string |
'index' |
|
| $object | bool |
false |
If set to true, the URL is converted to an object |
Return type
string|Kirby\Http\Uri