| API | Package | Subpackage | Class | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Application |
JPathWay |
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( ).
| 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. |