API17

API17:JRoute::

From Joomla! Documentation

Joomla 11.1 JRoute::_

Description

Translates an internal Joomla URL to a humanly readible URL.


public static function _ (
        $url
        $xhtml=true
        $ssl=null
)
Parameter Type Default Description
$url string Absolute or Relative URI to Joomla resource.
$xhtml boolean true Replace & by & for xml compilance.
$ssl int null Secure state for the resolved URI. 1: Make URI secure using global secure site URI. 0: Leave URI in the same secure state as it was passed to the function. -1: Make URI unsecure using the global unsecure site URI.

See also


User contributed notes

Code Examples