references:joomla.framework:application:japplication-appendpathwayTable of Contents
appendPathWay
Appends an item to the pathway of the current document. A link can be associated with this item which will be displayed unless the item is the last item in the pathway. The method is deprecated and provided for backwards compatibility with Joomla! 1.0. It is scheduled to be removed in future versions. Use JDocument::setMetaData instead. Syntaxvoid appendPathWay ( $name, $link )
ExamplesExample 1 global $mainframe; $mainframe->appendPathWay( "CustomPathItem1", "http://www.test1.ca" ); will add an item ‘CustomPathItem1’ to the page’s pathway. This item will not be linked. Example 2 global $mainframe; $mainframe->appendPathWay( "CustomPathItem1", "http://www.test1.ca" ); $mainframe->appendPathWay( "CustomPathItem2", "http://www.test2.ca" ); will add these two items to the page’s pathway. A link will be displayed on the first item, but not on the second item. |


