phpbb\install\helper\iohandler\iohandler_base::finish_progress PHP Method

finish_progress() public method

public finish_progress ( $message_lang_key )
    public function finish_progress($message_lang_key)
    {
        if (!empty($message_lang_key)) {
            $this->current_task_name = $this->language->lang($message_lang_key);
        }
        $this->current_task_progress = $this->task_progress_count;
    }

Usage Example

Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function finish_progress($message_lang_key)
 {
     parent::finish_progress($message_lang_key);
     if ($this->progress_bar !== null) {
         $this->progress_bar->finish();
         $this->progress_bar = null;
     }
 }