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);
    }
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);
    }
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 ) ; }
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
Returns HTML to display a help icon .