Actions

API17

Difference between revisions of "JRoute::"

From Joomla! Documentation

(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>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JRoute::_ ($url, $xhtml=true, $ssl=null)
+
public static function _ (
 +
        $url
 +
        $xhtml=true
 +
        $ssl=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 38:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' The translated humanly readible URL.
The translated humanly readible URL.
+
* '''Defined''' on line 32 of libraries/joomla/methods.php
===Defined in===
+
* '''Referenced by'''
libraries/joomla/methods.php (line 32)
+
** [[JPagination::_buildDataObject/11.1|JPagination::_buildDataObject]]
* see source code in [[jplatform:methods.php#cl-32|BitBucket]]
+
** [[JControllerForm::add/11.1|JControllerForm::add]]
===Referenced by===
+
** [[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>
* [[JRoute/11.1|JRoute]]
+
===User contributed notes===
* [[JRoute::_|Other versions of this method]]
+
{{SeeAlso:JRoute::_}}
+
===Examples===
+
 
<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

Replacement filing cabinet.png
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.

Joomla 11.1 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.

See also

SeeAlso:JRoute:: [Edit See Also]

User contributed notes

<CodeExamplesForm />