API16

JRoute: Difference between revisions

From Joomla! Documentation

Whycali (talk | contribs)
Whycali (talk | contribs)
Line 34: Line 34:
  format= ,,,
  format= ,,,
</dpl>
</dpl>
<?php
<source lang="php"><?php echo JRoute::_('index.php?option=com_content&view=article&id=86'); ?></source>
    echo JRoute::_('index.php?option=com_content&view=article&id=86');

Revision as of 17:28, 25 July 2012

[Edit Descripton] Template:Description:JRoute

Defined in

libraries/joomla/methods.php

Methods

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

Importing

jimport( 'joomla.methods' );

[Edit See Also] Template:SeeAlso:JRoute

Examples

<CodeExamplesForm />


<?php echo JRoute::_('index.php?option=com_content&view=article&id=86'); ?>