Actions

API15

Difference between revisions of "JPathway"

From Joomla! Documentation

 
Line 33: Line 33:
 
|Set item name.
 
|Set item name.
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.application.pathway' );</source>
 
<source lang="php">jimport( 'joomla.application.pathway' );</source>

Latest revision as of 11:27, 25 March 2010

Replacement filing cabinet.png
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

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' );

[Edit See Also] SeeAlso:JPathway

Examples

<CodeExamplesForm />