public function addHtml($menuName, $data, $displayedForCurrentUser, $order, $tooltip)
    {
        if ($displayedForCurrentUser) {
            if (!isset($this->menu[$menuName])) {
                $this->menu[$menuName]['_name'] = $menuName;
                $this->menu[$menuName]['_html'] = $data;
                $this->menu[$menuName]['_order'] = $order;
                $this->menu[$menuName]['_url'] = null;
                $this->menu[$menuName]['_icon'] = '';
                $this->menu[$menuName]['_hasSubmenu'] = false;
                $this->menu[$menuName]['_tooltip'] = $tooltip;
            }
        }
    }
public function addHtml($menuName, $data, $displayedForCurrentUser, $order, $tooltip)
    {
        if ($displayedForCurrentUser) {
            if (!isset($this->menu[$menuName])) {
                $this->menu[$menuName]['_name'] = $menuName;
                $this->menu[$menuName]['_html'] = $data;
                $this->menu[$menuName]['_order'] = $order;
                $this->menu[$menuName]['_url'] = null;
                $this->menu[$menuName]['_icon'] = '';
                $this->menu[$menuName]['_hasSubmenu'] = false;
                $this->menu[$menuName]['_tooltip'] = $tooltip;
            }
        }
    }
public function addHtml ( $ menuName , $ data , $ displayedForCurrentUser , $ order , $ tooltip ) { if ( $ displayedForCurrentUser ) { if ( ! isset ( $ this -> menu [ $ menuName ] ) ) { $ this -> menu [ $ menuName ] [ '_name' ] = $ menuName ; $ this -> menu [ $ menuName ] [ '_html' ] = $ data ; $ this -> menu [ $ menuName ] [ '_order' ] = $ order ; $ this -> menu [ $ menuName ] [ '_url' ] = null ; $ this -> menu [ $ menuName ] [ '_icon' ] = '' ; $ this -> menu [ $ menuName ] [ '_hasSubmenu' ] = false ; $ this -> menu [ $ menuName ] [ '_tooltip' ] = $ tooltip ; } } }
Directly adds a menu entry containing html.

@param string $menuName
@param string $data
@param boolean $displayedForCurrentUser
@param int $order
@param string $tooltip Tooltip to display.
@api
Directly adds a menu entry containing html .