PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide

Name

HTML_Progress2::setValue — Sets the progress meter current value

Synopsis

      require_once 'HTML/Progress2.php';
     
void HTML_Progress2::setValue( $val);  
integer   $val;

Description

Set the current value of the progress meter that is always between the minimum and maximum values, inclusive. If the new value is different from previous, then all listeners are notified.

Parameter

integer $val

progress meter's current value

See

see HTML_Progress2::getValue , HTML_Progress2::incValue

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