====== JPathWay [Review] ====== {#JAPI Joomla.Framework Application JPathWay #} 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 ^ | {{references:Constructor.png?nolink}} [[JPathWay-__construct|__construct]] | Class constructor. | | {{references:Method.png?nolink}} [[JPathWay-addItem|addItem]] | Create and add an item to the pathway. | | {{references:Method.png?nolink}} [[JPathWay-getNamePathWay|getNamePathWay]] | Create and return an array of the pathway names. Useful for things like SEF URLs. | | {{references:Method.png?nolink}} [[JPathWay-getPathWay|getPathWay]] | Return the JPathWay items array. | | {{references:Method.png?nolink}} [[JPathWay-setItemName|setItemName]] | Set item name. | ---- ~~DISCUSSION~~