API17

API17:JPathway

From Joomla! Documentation

Joomla 11.1 JPathway

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.

Methods

Visibility Method name Description
public __construct Class constructor.
public addItem Create and add an item to the pathway.
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.
public static getInstance Returns a object.
  • Defined in libraries/joomla/application/pathway.php
  • Extends JObject

Importing

jimport( 'joomla.application.pathway' );

See also


User contributed notes

Code Examples