getIncrement Manual
returns the progress bar's increment value
Synopsis
integer getIncrement()
Description
The getIncrement() method is used to retrieve the
increment value in the mathematical model of the progress bar.
The default value is set to +1.
Example
<?php
require_once ('HTML/Progress.php');
$bar = new HTML_Progress();
// direct way
print('increment = ' . $bar->getIncrement());
echo '<br/>';
// another way
$dm =& $bar->getDM();
print('increment = ' . $dm->getIncrement());
?>
See Also
setIncrement Manual