| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Application |
JApplication |
getCustomPathWay |
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.
void getCustomPathWay ()
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 )