API16

API16:JPathway/getPathway

From Joomla! Documentation

Description

Return the JPathWay items array



Syntax

getPathway()


Returns

array Array of pathway items

Defined in

libraries/joomla/application/pathway.php

Importing

jimport( 'joomla.application.pathway' );

Source Body

function getPathway()
{
        $pw = $this->_pathway;

        // Use array_values to reset the array keys numerically
        return array_values($pw);
}



Examples

Code Examples