incValue Manual
add increment to the current progress bar's value
Synopsis
void incValue()
Description
The incValue() method is used to update the
current value of the progress bar.
Example
<?php
require_once ('HTML/Progress.php');
$bar = new HTML_Progress();
$bar->setIncrement(5);
// direct way
$bar->incValue();
print('value after 1st update = ' . $bar->getValue());
echo '<br/>';
// another way
$dm =& $bar->getDM();
$dm->incValue();
print('value after 2nd update = ' . $bar->getValue());
?>
See Also
getValue Manual,
setValue Manual