/** * Sets the active menu item. * This should be done before the headerMenu.tpl template calls the function getMenu(). * * This function should be used in each script which uses a template that includes the headerMenu.tpl. * * @param string $menuItem name of the active menu item */ public static function setActiveMenuItem($menuItem) { self::$activeMenuItem = $menuItem; }