| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Application |
JPathWay |
getPathWay |
getPathWay() |
Never | Work in Progress |
Return the JPathWay items array.
array getPathWay ( $showHome, $showComponent )
| $showHome | boolean | is a flag which specifies whether or not the home element of the pathway should be returned. This parameter is optional and if omitted defaults to true. |
| $showComponent | boolean | is a flag which specifies whether or not the component element of the pathway should be returned. This paramter is optional and if omitted defaults to true. |
Example
global $mainframe; $pathway =& $mainframe->getPathWay(); print_r( $pathway->getPathWay( true, false ) );
might produce:
Result
Array ( [0] => stdClass Object ( [name] => Home [link] => index.php ) )