API17:JRoute::
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JRoute::_
Description
Translates an internal Joomla URL to a humanly readible URL.
Description:JRoute:: [Edit Descripton]
Synopsis
public static JRoute::_ ($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. |
Returns
The translated humanly readible URL.
Defined in
libraries/joomla/methods.php (line 32)
- see source code in BitBucket
Referenced by
- JPagination::_buildDataObject
- JControllerForm::add
- JControllerForm::cancel
- JControllerAdmin::checkin
- JRequest::checkToken
- JControllerAdmin::delete
- JControllerForm::edit
- JControllerAdmin::publish
- JDocumentRendererRSS::render
- JDocumentRendererAtom::render
- JControllerAdmin::reorder
- JControllerForm::save
- JControllerAdmin::saveorder
See also
Examples
<CodeExamplesForm />
