API15:JPathway
From Joomla! Documentation
JPathway is an abstract 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.
Defined in
libraries/joomla/application/pathway.php
Methods
| Method name | Description |
|---|---|
| __construct | Class constructor |
| getInstance | Returns a reference a JPathway object |
| getPathway | Return the JPathWay items array |
| setPathway | Set the JPathway items array. |
| getPathwayNames | Create and return an array of the pathway names. |
| addItem | Create and add an item to the pathway. |
| setItemName | Set item name. |
Importing
jimport( 'joomla.application.pathway' );
Examples
Code Examples