original_string: public function update_progress() {
          // If we haven't started yet, consider starting.
          if ($this->starttime) {
              if (time() > $this->starttime) {
                  $this->starttime = 0;
              } else {
                  // Do nothing until start time.
                  return;
              }
          }
  
          // We have started, so handle as default.
          parent::update_progress();
      }
code: public function update_progress() {
          // If we haven't started yet, consider starting.
          if ($this->starttime) {
              if (time() > $this->starttime) {
                  $this->starttime = 0;
              } else {
                  // Do nothing until start time.
                  return;
              }
          }
  
          // We have started, so handle as default.
          parent::update_progress();
      }
code_tokens: public function update_progress ( ) { // If we haven't started yet, consider starting. if ( $ this -> starttime ) { if ( time ( ) > $ this -> starttime ) { $ this -> starttime = 0 ; } else { // Do nothing until start time. return ; } } // We have started, so handle as default. parent :: update_progress ( ) ; }
docstring: When progress is updated, after a certain time, starts actually displaying
  the progress bar.
  
  @see \core\progress\base::update_progress()
docstring_tokens: When progress is updated after a certain time starts actually displaying the progress bar .