original_string: public function help_icon($identifier, $component = 'moodle', $linktext = '') {
          $icon = new help_icon($identifier, $component);
          $icon->diag_strings();
          if ($linktext === true) {
              $icon->linktext = get_string($icon->identifier, $icon->component);
          } else if (!empty($linktext)) {
              $icon->linktext = $linktext;
          }
          return $this->render($icon);
      }
code: public function help_icon($identifier, $component = 'moodle', $linktext = '') {
          $icon = new help_icon($identifier, $component);
          $icon->diag_strings();
          if ($linktext === true) {
              $icon->linktext = get_string($icon->identifier, $icon->component);
          } else if (!empty($linktext)) {
              $icon->linktext = $linktext;
          }
          return $this->render($icon);
      }
code_tokens: public function help_icon ( $ identifier , $ component = 'moodle' , $ linktext = '' ) { $ icon = new help_icon ( $ identifier , $ component ) ; $ icon -> diag_strings ( ) ; if ( $ linktext === true ) { $ icon -> linktext = get_string ( $ icon -> identifier , $ icon -> component ) ; } else if ( ! empty ( $ linktext ) ) { $ icon -> linktext = $ linktext ; } return $ this -> render ( $ icon ) ; }
docstring: Returns HTML to display a help icon.
  
  Theme developers: DO NOT OVERRIDE! Please override function
  {@link core_renderer::render_help_icon()} instead.
  
  @param string $identifier The keyword that defines a help page
  @param string $component component name
  @param string|bool $linktext true means use $title as link text, string means link text value
  @return string HTML fragment
docstring_tokens: Returns HTML to display a help icon .