JRoute

From Joomla! Documentation
Revision as of 13:56, 20 November 2009 by Bobbravo2 (Talk | contribs)

Jump to: navigation, search

Jroute is used to output URI's. Static JRoute::_methodname() Does not need to keep track of menu items.

A simple example of using JRoute would be

<?php echo JRoute::_('index.php?option=example&task=view'); ?>

If we use this method inside a class and we are trying to link it to current component we do not need to specify option

Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox