API16

JRoute: Difference between revisions

From Joomla! Documentation

Whycali (talk | contribs)
m preparing for archive only
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JRoute|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{Description:JRoute}}
===Defined in===
===Defined in===
libraries/joomla/methods.php
libraries/joomla/methods.php
Line 19: Line 14:
<source lang="php">jimport( 'joomla.methods' );</source>
<source lang="php">jimport( 'joomla.methods' );</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRoute|Edit See Also]]<nowiki>]</nowiki>
 
</span>
{{SeeAlso:JRoute}}


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JRoute
  category=JRoute
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>
<?php
    echo JRoute::_('index.php?option=com_content&view=article&id=86');

Latest revision as of 02:01, 25 March 2017

Defined in

libraries/joomla/methods.php

Methods

Method name Description
_ Translates an internal Joomla URL to a humanly readible URL.

Importing

jimport( 'joomla.methods' );



Examples

Code Examples