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