HTML_Progress
[ class tree: HTML_Progress ] [ index: HTML_Progress ] [ all elements ]
Prev Next
HTML_Progress::getMaximum
returns the progress meter maximum value

Synopsis

require_once 'HTML/Progress.php';

int HTML_Progress::getMaximum()

Description

This method is used to retrieve the maximal value in the mathematical model of the progress meter.

The default value is set to +100.

Note

( HTML_Progress >= 1.0 )

This function can not be called statically.

This method is also a wrapper for HTML_Progress_DM::getMaximum.

See

HTML_Progress::setMaximum

Example

  1. <?php
  2. require_once 'HTML/Progress.php';
  3.  
  4. $bar = new HTML_Progress();
  5.  
  6. printf('direct way: maximum = %d <br/>', $bar->getMaximum());
  7.  
  8. $dm =& $bar->getDM();
  9. printf('another way: maximum = %d <br/>', $dm->getMaximum());
  10. ?>

Prev Up Next
HTML_Progress::setIncrement Reference Guide HTML_Progress::setMaximum

Documentation generated on Sun, 12 Sep 2004 20:23:15 +0200 by phpDocumentor 1.3.0RC3