PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide

Name

HTML_Progress2::moveStep — Changes new value of the progress meter by step increase

Synopsis

      require_once 'HTML/Progress2.php';
     
void HTML_Progress2::moveStep( $step);  
integer   $step;

Description

Move current value to the next step of the progress meter defined by its increment. If result value is different than previous, then all listeners are notified. Caution: a step is always between 1 and (maximum / taskcount) rounded fractions up.

Parameter

integer $step

new step value

See

see HTML_Progress2::moveNext

Throws

throws HTML_PROGRESS2_ERROR_INVALID_INPUT

Note

since 2.0.0

This function can not be called statically.

HTML_Progress2 : The Definitive Guide v 2.4.0 : April 20, 2007