Difference between revisions of "JRoute::"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (preparing for archive only) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Translates an internal Joomla URL to a humanly readible URL. | Translates an internal Joomla URL to a humanly readible URL. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function _ ( |
+ | $url | ||
+ | $xhtml=true | ||
+ | $ssl=null | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 35: | Line 36: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' The translated humanly readible URL. | |
− | The translated humanly readible URL. | + | * '''Defined''' on line 32 of libraries/joomla/methods.php |
− | + | * '''Referenced by''' | |
− | libraries/joomla/methods.php | + | ** [[API17:JPagination::_buildDataObject|JPagination::_buildDataObject]] |
− | + | ** [[API17:JControllerForm::add|JControllerForm::add]] | |
− | * [[JPagination | + | ** [[API17:JControllerForm::cancel|JControllerForm::cancel]] |
− | * [[JControllerForm | + | ** [[API17:JControllerAdmin::checkin|JControllerAdmin::checkin]] |
− | * [[JControllerForm | + | ** [[API17:JRequest::checkToken|JRequest::checkToken]] |
− | * [[JControllerAdmin | + | ** [[API17:JControllerAdmin::delete|JControllerAdmin::delete]] |
− | * [[JRequest | + | ** [[API17:JControllerForm::edit|JControllerForm::edit]] |
− | * [[JControllerAdmin | + | ** [[API17:JControllerAdmin::publish|JControllerAdmin::publish]] |
− | * [[JControllerForm | + | ** [[API17:JDocumentRendererRSS::render|JDocumentRendererRSS::render]] |
− | * [[JControllerAdmin | + | ** [[API17:JDocumentRendererAtom::render|JDocumentRendererAtom::render]] |
− | * [[JDocumentRendererRSS | + | ** [[API17:JControllerAdmin::reorder|JControllerAdmin::reorder]] |
− | * [[JDocumentRendererAtom | + | ** [[API17:JControllerForm::save|JControllerForm::save]] |
− | * [[JControllerAdmin | + | ** [[API17:JControllerAdmin::saveorder|JControllerAdmin::saveorder]] |
− | * [[JControllerForm | ||
− | * [[JControllerAdmin | ||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JRoute::_ source code''' on [[jplatform:methods.php#cl-24|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JRoute|JRoute]] | |
− | + | * [[API17:JRoute::_|Other versions of JRoute::_]] | |
− | * [[JRoute | + | |
− | * [[JRoute::_|Other versions of | + | |
− | + | ===User contributed notes=== | |
− | ===Examples=== | + | === Code Examples === |
− | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JRoute::_ | category=JRoute::_ | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:36, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JRoute::_[edit]
Description[edit]
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. |
- Returns The translated humanly readible URL.
- Defined on line 32 of libraries/joomla/methods.php
- 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[edit]
- JRoute::_ source code on BitBucket
- Class JRoute
- Other versions of JRoute::_
User contributed notes[edit]
Code Examples[edit]