API17

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.  
  
{{Description:JRoute::_}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JRoute::_|Edit Descripton]]<nowiki>]</nowiki>
 
</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 36:
 
|-
 
|-
 
|}
 
|}
===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
+
** [[API17:JPagination::_buildDataObject|JPagination::_buildDataObject]]
===Referenced by===
+
** [[API17:JControllerForm::add|JControllerForm::add]]
* [[JPagination/_buildDataObject/11.1|JPagination::_buildDataObject]]
+
** [[API17:JControllerForm::cancel|JControllerForm::cancel]]
* [[JControllerForm/add/11.1|JControllerForm::add]]
+
** [[API17:JControllerAdmin::checkin|JControllerAdmin::checkin]]
* [[JControllerForm/cancel/11.1|JControllerForm::cancel]]
+
** [[API17:JRequest::checkToken|JRequest::checkToken]]
* [[JControllerAdmin/checkin/11.1|JControllerAdmin::checkin]]
+
** [[API17:JControllerAdmin::delete|JControllerAdmin::delete]]
* [[JRequest/checkToken/11.1|JRequest::checkToken]]
+
** [[API17:JControllerForm::edit|JControllerForm::edit]]
* [[JControllerAdmin/delete/11.1|JControllerAdmin::delete]]
+
** [[API17:JControllerAdmin::publish|JControllerAdmin::publish]]
* [[JControllerForm/edit/11.1|JControllerForm::edit]]
+
** [[API17:JDocumentRendererRSS::render|JDocumentRendererRSS::render]]
* [[JControllerAdmin/publish/11.1|JControllerAdmin::publish]]
+
** [[API17:JDocumentRendererAtom::render|JDocumentRendererAtom::render]]
* [[JDocumentRendererRSS/render/11.1|JDocumentRendererRSS::render]]
+
** [[API17:JControllerAdmin::reorder|JControllerAdmin::reorder]]
* [[JDocumentRendererAtom/render/11.1|JDocumentRendererAtom::render]]
+
** [[API17:JControllerForm::save|JControllerForm::save]]
* [[JControllerAdmin/reorder/11.1|JControllerAdmin::reorder]]
+
** [[API17:JControllerAdmin::saveorder|JControllerAdmin::saveorder]]
* [[JControllerForm/save/11.1|JControllerForm::save]]
 
* [[JControllerAdmin/saveorder/11.1|JControllerAdmin::saveorder]]
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JRoute::_ source code''' on [[jplatform:methods.php#cl-24|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JRoute::_|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JRoute|JRoute]]
</span>
+
* [[API17:JRoute::_|Other versions of JRoute::_]]
* [[JRoute/11.1|JRoute]]
+
 
* [[JRoute::_|Other versions of this method]]
+
 
{{SeeAlso:JRoute::_}}
+
===User contributed notes===
===Examples===
+
=== Code Examples ===
<CodeExamplesForm />
 
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JRoute::_
 
category=JRoute::_
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JRoute]][[Category:JRoute::_]]</noinclude>
+
<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.

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

See also[edit]


User contributed notes[edit]

Code Examples[edit]