public function create() {
        global $OUTPUT;

        $this->time_start = microtime(true);
        if (CLI_SCRIPT) {
            return; // Temporary solution for cli scripts.
        }

        flush();
        echo $OUTPUT->render($this);
        flush();
    }
public function create() {
        global $OUTPUT;

        $this->time_start = microtime(true);
        if (CLI_SCRIPT) {
            return; // Temporary solution for cli scripts.
        }

        flush();
        echo $OUTPUT->render($this);
        flush();
    }
public function create ( ) { global $ OUTPUT ; $ this -> time_start = microtime ( true ) ; if ( CLI_SCRIPT ) { return ; // Temporary solution for cli scripts. } flush ( ) ; echo $ OUTPUT -> render ( $ this ) ; flush ( ) ; }
Create a new progress bar, this function will output html.

@return void Echo's output
Create a new progress bar this function will output html .