HTML_Progress
[ class tree: HTML_Progress ] [ index: HTML_Progress ] [ all elements ]
Prev Next

getMinimum Manual

returns the progress bar's minimum value

by by Laurent Laville
mailto:pear@laurent-laville.org
November 2003, Laurent Laville
(HTML_Progress 1.0+)

Synopsis

integer getMinimum()

Description

The getMinimum() method is used to retrieve the minimal value in the mathematical model of the progress bar. The default value is set to zero.

Example

  1. <?php
  2. require_once ('HTML/Progress.php');
  3.  
  4. $bar = new HTML_Progress();
  5.  
  6. // direct way
  7. print('minimum = ' $bar->getMinimum());
  8. echo '<br/>';
  9.  
  10. // another way
  11. $dm =$bar->getDM();
  12. print('minimum = ' $dm->getMinimum());
  13. ?>

See Also

setMinimum Manual

Prev Up Next
getStyle Manual Reference Guides setMinimum Manual

Documentation generated on Mon, 11 Mar 2019 13:52:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.