====== getNamePathWay ======
{#JAPI Joomla.Framework Application JPathWay::getNamePathWay #}
Create and return an array of the pathway names. This is useful for things like SEF URLs.
===== Syntax =====
array getNamePathWay ( **$showHome**, **$showComponent** )
| **$showHome** | boolean | is a flag that specifies whether or not the home element of the pathway array should be returned. This parameter is optional and if omitted defaults to true. |
| **$showComponent** | boolean | is a flag that specifies whether or not the component element of the pathway array should be returned. This parameter is optional and if omitted defaults to true. |
===== Examples =====
global $mainframe;
$pathway =& $mainframe->getPathWay();
print_r( $pathway->getNamePathWay() );
might result in:
Array
(
[0] =>
[1] => Home
[2] => News Feeds
)