original_string: 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;
              }
          }
      }
code: 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;
              }
          }
      }
code_tokens: 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 ; } } }
docstring: 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
docstring_tokens: Directly adds a menu entry containing html .