setMinimum Manual
defines the progress bar's minimum value
Synopsis
void setMinimum( $min )
Attributes
$min is an integer with a minimum of 0, and maximum limit
is given by HTML_Progress_DM::getMaximum().
Description
The setMinimum() method is used to set the
minimal value in the mathematical model of the progress bar.
If the minimum value is different from previous minimum, all change listeners
are notified.
Example
<?php
require_once ('HTML/Progress.php');
$bar = new HTML_Progress();
// direct way
$bar->setMinimum(20);
print('minimum = ' . $bar->getMinimum());
echo '<br/>';
// another way
$dm =& $bar->getDM();
$dm->setMinimum(20);
print('minimum = ' . $bar->getMinimum());
?>
See Also
getMinimum Manual