Route

Route handling class

since

1.7.0

Methods

_

Translates an internal Joomla URL to a humanly readable URL. This method builds links for the current active client.

_(string $url, boolean $xhtml = true, integer $ssl = null) : string
static
since

1.7.0

Arguments

$url

stringAbsolute or Relative URI to Joomla resource.

$xhtml

booleanReplace & by & for XML compliance.

$ssl

integerSecure state for the resolved URI. 0: (default) No change, use the protocol currently used in the request 1: Make URI secure using global secure site URI. 2: Make URI unsecure using the global unsecure site URI.

Response

stringThe translated humanly readable URL.

Properties

_router

The route object so we don't have to keep fetching it.

static
since

3.0.1

Type(s)

array<mixed,\Joomla\CMS\Router\Router>