API17:JRoute::
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JRoute::_|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JRoute::_|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
<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 38: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''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 | + | ** [[JPagination::_buildDataObject/11.1|JPagination::_buildDataObject]] |
| − | * | + | ** [[JControllerForm::add/11.1|JControllerForm::add]] |
| − | + | ** [[JControllerForm::cancel/11.1|JControllerForm::cancel]] | |
| − | * [[JPagination::_buildDataObject/11.1|JPagination::_buildDataObject]] | + | ** [[JControllerAdmin::checkin/11.1|JControllerAdmin::checkin]] |
| − | * [[JControllerForm::add/11.1|JControllerForm::add]] | + | ** [[JRequest::checkToken/11.1|JRequest::checkToken]] |
| − | * [[JControllerForm::cancel/11.1|JControllerForm::cancel]] | + | ** [[JControllerAdmin::delete/11.1|JControllerAdmin::delete]] |
| − | * [[JControllerAdmin::checkin/11.1|JControllerAdmin::checkin]] | + | ** [[JControllerForm::edit/11.1|JControllerForm::edit]] |
| − | * [[JRequest::checkToken/11.1|JRequest::checkToken]] | + | ** [[JControllerAdmin::publish/11.1|JControllerAdmin::publish]] |
| − | * [[JControllerAdmin::delete/11.1|JControllerAdmin::delete]] | + | ** [[JDocumentRendererRSS::render/11.1|JDocumentRendererRSS::render]] |
| − | * [[JControllerForm::edit/11.1|JControllerForm::edit]] | + | ** [[JDocumentRendererAtom::render/11.1|JDocumentRendererAtom::render]] |
| − | * [[JControllerAdmin::publish/11.1|JControllerAdmin::publish]] | + | ** [[JControllerAdmin::reorder/11.1|JControllerAdmin::reorder]] |
| − | * [[JDocumentRendererRSS::render/11.1|JDocumentRendererRSS::render]] | + | ** [[JControllerForm::save/11.1|JControllerForm::save]] |
| − | * [[JDocumentRendererAtom::render/11.1|JDocumentRendererAtom::render]] | + | ** [[JControllerAdmin::saveorder/11.1|JControllerAdmin::saveorder]] |
| − | * [[JControllerAdmin::reorder/11.1|JControllerAdmin::reorder]] | + | |
| − | * [[JControllerForm::save/11.1|JControllerForm::save]] | + | |
| − | * [[JControllerAdmin::saveorder/11.1|JControllerAdmin::saveorder]] | + | |
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JRoute::_ source code''' on [[jplatform:methods.php#cl-24|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JRoute/11.1|JRoute]] | ||
| + | * [[JRoute::_|Other versions of JRoute::_]] | ||
| + | {{SeeAlso:JRoute::_}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JRoute::_|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JRoute::_|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 69: | Line 70: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JRoute]][[Category:JRoute::_]]</noinclude> | <noinclude>[[Category:JRoute]][[Category:JRoute::_]]</noinclude> | ||
Revision as of 21:33, 27 April 2011
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]
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
-
JRoute::_ source code on BitBucket
-
Class JRoute
- Other versions of JRoute::_
SeeAlso:JRoute:: [Edit See Also]
User contributed notes
<CodeExamplesForm />
