Skip to content

Kirby 4.4.1

$kirby->url()

Returns a system url

$kirby->url(string $type = 'index', bool $object = false): Kirby\Http\Uri|string|null

Parameters

Name Type Default Description
$type string 'index'
$object bool false If set to true, the URL is converted to an object

Return type

Kirby\Http\Uri|string|null

Parent class

Kirby\Cms\App