Difference between revisions of "JRoute"
From Joomla! Documentation
Line 34: | Line 34: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
+ | <?php | ||
+ | echo JRoute::_('index.php?option=com_content&view=article&id=86'); |
Revision as of 12:27, 25 July 2012
The "API16" 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.
[Edit Descripton] Template:Description:JRoute
Defined in[edit]
libraries/joomla/methods.php
Methods[edit]
Method name | Description |
---|---|
_ | Translates an internal Joomla URL to a humanly readible URL. |
Importing[edit]
jimport( 'joomla.methods' );
[Edit See Also] Template:SeeAlso:JRoute
Examples[edit]
<CodeExamplesForm />
<?php
echo JRoute::_('index.php?option=com_content&view=article&id=86');