original_string: public function display_help_icon() {
          global $PAGE, $OUTPUT, $USER;
          $result = '';
          if ($this->is_enabled() && !$PAGE->user_is_editing() && $this->is_tracked_user($USER->id) && isloggedin() &&
                  !isguestuser()) {
              $result .= html_writer::tag('div', get_string('yourprogress','completion') .
                      $OUTPUT->help_icon('completionicons', 'completion'), array('id' => 'completionprogressid',
                      'class' => 'completionprogress'));
          }
          return $result;
      }
code: public function display_help_icon() {
          global $PAGE, $OUTPUT, $USER;
          $result = '';
          if ($this->is_enabled() && !$PAGE->user_is_editing() && $this->is_tracked_user($USER->id) && isloggedin() &&
                  !isguestuser()) {
              $result .= html_writer::tag('div', get_string('yourprogress','completion') .
                      $OUTPUT->help_icon('completionicons', 'completion'), array('id' => 'completionprogressid',
                      'class' => 'completionprogress'));
          }
          return $result;
      }
code_tokens: public function display_help_icon ( ) { global $ PAGE , $ OUTPUT , $ USER ; $ result = '' ; if ( $ this -> is_enabled ( ) && ! $ PAGE -> user_is_editing ( ) && $ this -> is_tracked_user ( $ USER -> id ) && isloggedin ( ) && ! isguestuser ( ) ) { $ result .= html_writer :: tag ( 'div' , get_string ( 'yourprogress' , 'completion' ) . $ OUTPUT -> help_icon ( 'completionicons' , 'completion' ) , array ( 'id' => 'completionprogressid' , 'class' => 'completionprogress' ) ) ; } return $ result ; }
docstring: Returns the 'Your progress' help icon, if completion tracking is enabled.
  
  @return string HTML code for help icon, or blank if not needed
docstring_tokens: Returns the Your progress help icon if completion tracking is enabled .