Table of Contents

getCustomPathWay

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Application Class JApplication Method getCustomPathWay Reference getCustomPathWay() Never Internal Review

Returns an array of names of pathway items.

The method is deprecated and provided for backwards compatibility with Joomla! 1.0. It is scheduled to be removed in future versions. Use JPathWay::getNamePathWay instead.

Syntax

void getCustomPathWay ()

Examples

Example

global $mainframe;

$mainframe->appendPathWay( "CustomPathItem1", "http://www.test1.ca" );
$mainframe->appendPathWay( "CustomPathItem2", "http://www.test2.ca" );
print_r ( $mainframe->getCustomPathWay () );

might produce

Result

Array
(
    [0] => 
    [1] => Home
    [2] => contact
    [3] => CustomPathItem1
    [4] => CustomPathItem2
)