JRoute

From Joomla! Documentation

Revision as of 22:46, 25 March 2009 by Gnomeontherun (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

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