Actions

API17

Difference between revisions of "JPathway"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/application/pathway.php
 
libraries/joomla/application/pathway.php
 +
* see source code in [[jplatform:application/pathway.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Application/11.1|Application]]
 
[[Subpackage Application/11.1|Application]]
Line 45: Line 46:
 
<source lang="php">jimport( 'joomla.application.pathway' );</source>
 
<source lang="php">jimport( 'joomla.application.pathway' );</source>
 
===See also===
 
===See also===
 +
* JPathway source code in [[jplatform:application/pathway.php|BitBucket]]
 
* [[JPathway|Other versions of this class]]
 
* [[JPathway|Other versions of this class]]
 
{{SeeAlso:JPathway}}
 
{{SeeAlso:JPathway}}

Revision as of 17:00, 23 April 2011

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.

Defined in

libraries/joomla/application/pathway.php

Subpackage

Application

Extends

JObject

Extended by

Methods

Method name Description
__construct Class constructor.
_makeItem Create and return a new pathway object.
addItem Create and add an item to the pathway.
getPathway Return the JPathWay items array.
getPathwayNames Create and return an array of the pathway names.
setItemName Set item name.
setPathway Set the items array.
getInstance Returns a object.

Importing

jimport( 'joomla.application.pathway' );

See also

SeeAlso:JPathway [Edit See Also]

Examples

<CodeExamplesForm />