references:joomla.framework:application:jpathway-setitemnameTable of Contents
setItemName
Sets the name of the specified item. Syntaxboolean setItemName ( $id, $name )
ExamplesExample global $mainframe; $pathway =& $mainframe->getPathWay(); $pathway->setItemName( '1', 'Joomla! Info' ); will change the name of the second element in the pathway (since the array is zero based). The home element usually has index 0. |


