Support Joomla!

references:joomla.framework:application:jpathway

JPathWay [Review]

API Package Subpackage Class Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Application Class JPathWay Reference JPathWay Never Work in Progress

Class to maintain a pathway. Main example of use so far is the mod_breadcrumbs module that keeps track of the user’s navigated path within the Joomla! application. A pathway object is created in the index.php file and a reference to it is stored in the $mainframe object. A reference to the PathWay object for the page can be retrieved by calling $mainframe→getPathWay( ).

Methods

Method Description
__construct Class constructor.
addItem Create and add an item to the pathway.
getNamePathWay Create and return an array of the pathway names. Useful for things like SEF URLs.
getPathWay Return the JPathWay items array.
setItemName Set item name.


 
references/joomla.framework/application/jpathway.txt (1843 views) · Last modified: 2007/09/22 02:46