API16:JPathway
From Joomla! Documentation
(Difference between revisions)
(New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JPathway}}
===Defined in===
lib...) |
|||
| Line 33: | Line 33: | ||
|Returns a JPathway object | |Returns a JPathway object | ||
|} | |} | ||
| + | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.application.pathway' );</source> | <source lang="php">jimport( 'joomla.application.pathway' );</source> | ||
Latest revision as of 04:59, 30 March 2010
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
[Edit Descripton] 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.
Contents |
[edit] Defined in
libraries/joomla/application/pathway.php
[edit] Methods
| Method name | Description |
|---|---|
| __construct | Class constructor |
| 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. |
| getInstance | Returns a JPathway object |
[edit] Importing
jimport( 'joomla.application.pathway' );
[Edit See Also] SeeAlso:JPathway
[edit] Examples
<CodeExamplesForm />
