JPathway
Description
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.
Located in /joomla/application/pathway.php (line 29)
JObject (Subpackage Base)
![]()
JPathway (Subpackage Application)
Method Summary
Variables
Methods
Class constructor
JPathway
__construct
([ $options = array()])
- $options
Redefinition of:
- JObject::__construct()
- Class constructor, overridden in descendant classes.
Create and add an item to the pathway.
boolean
addItem
(string $name, [string $link = ''])
- string $name
- string $link
Returns a reference a JPathway object
This method must be invoked as:
$menu = &JPathway::getInstance();
- string $client: The name of the client
- array $options: An associative array of options
Create and return an array of the pathway names.
array
getPathwayNames
()
Set item name.
boolean
setItemName
(integer $id, string $name)
- integer $id
- string $name
Set the JPathway items array.
array
setPathway
(array $pathway)
- array $pathway: An array of pathway objects.
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::getPublicProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()





JPathway (Subpackage Application)