added abstract function to base egw_framework, as it get called from admin/inc/hook_top_menu.inc.php for pending updates

This commit is contained in:
Ralf Becker 2010-09-07 19:08:13 +00:00
parent a2cb21c455
commit 577c8926bc

View File

@ -929,6 +929,19 @@ abstract class egw_framework
self::$top_menu_extra[$id] = $entry; self::$top_menu_extra[$id] = $entry;
} }
/**
* called by hooks to add an icon in the topmenu info location
*
* @param string $id unique element id
* @param string $icon_src src of the icon image. Make sure this nog height then 18pixels
* @param string $iconlink where the icon links to
* @param booleon $blink set true to make the icon blink
* @param mixed $tooltip string containing the tooltip html, or null of no tooltip
* @access public
* @return void
*/
abstract function topmenu_info_icon($id,$icon_src,$iconlink,$blink=false,$tooltip=null);
/** /**
* Call and return content of 'after_navbar' hook * Call and return content of 'after_navbar' hook
* *