JPathway/1.5
From Joomla! Documentation
< JPathway(Difference between revisions)
(Layout updates) |
m (→See also: fixing link to API) |
||
| Line 51: | Line 51: | ||
<source lang="php">jimport( 'joomla.application.pathway' );</source> | <source lang="php">jimport( 'joomla.application.pathway' );</source> | ||
===See also=== | ===See also=== | ||
| − | * {{JVer|1.5}} '''JPathway''' on [http://api.joomla.org/Joomla-Framework/Application/JPathway.html api.joomla.org] | + | * {{JVer|1.5}} '''JPathway''' on [http://api.joomla.org/1.5/Joomla-Framework/Application/JPathway.html api.joomla.org] |
* {{JVer|1.5}} '''JPathway source code''' on [[jframework15:application/pathway.php|JoomlaCode]] | * {{JVer|1.5}} '''JPathway source code''' on [[jframework15:application/pathway.php|JoomlaCode]] | ||
* {{JVer|1.5}} Subpackage [[Subpackage Application/1.5|Application]] | * {{JVer|1.5}} Subpackage [[Subpackage Application/1.5|Application]] | ||
Latest revision as of 16:04, 13 February 2013
[edit]
JPathway
[edit] Description
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. [Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Class constructor. |
| public | _makeItem | Create and return a new pathway object. |
| public | addItem | Create and add an item to the pathway. |
| public | getInstance | Returns a reference a object. |
| public | getPathway | Return the JPathWay items array. |
| public | getPathwayNames | Create and return an array of the pathway names. |
| public | setItemName | Set item name. |
| public | setPathway | Set the items array. |
- Defined in libraries/joomla/application/pathway.php
- Extends JObject
[edit] Importing
jimport( 'joomla.application.pathway' );
[edit] See also
-
JPathway on api.joomla.org
-
JPathway source code on JoomlaCode
-
Subpackage Application
- Other versions of JPathway
SeeAlso:JPathway [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />