public function update_full($percent, $msg) {
        $percent = max(min($percent, 100), 0);
        $this->_update($percent, $msg);
    }
public function update_full($percent, $msg) {
        $percent = max(min($percent, 100), 0);
        $this->_update($percent, $msg);
    }
public function update_full ( $ percent , $ msg ) { $ percent = max ( min ( $ percent , 100 ) , 0 ) ; $ this -> _update ( $ percent , $ msg ) ; }
Update progress bar according percent.

@param int $percent From 1-100.
@param string $msg The message needed to be shown.
Update progress bar according percent .