====== getPathWay ======
{#JAPI Joomla.Framework Application JPathWay::getPathWay #}
Return the JPathWay items array.
===== Syntax =====
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. |
===== Examples =====
global $mainframe;
$pathway =& $mainframe->getPathWay();
print_r( $pathway->getPathWay( true, false ) );
might produce:
Array
(
[0] => stdClass Object
(
[name] => Home
[link] => index.php
)
)