HTML_Progress::getValue

HTML_Progress

Prev |  | Next
HTML_Progress::getValue returns the current progress meter value ## Synopsis require_once 'HTML/Progress.php'; int HTML_Progress::getValue() ## Description This method is used to retrieve the current value in the mathematical model of the progress meter. ## Note ( HTML_Progress >= 1.0 )
| This function can not be called statically.
| This method is also a wrapper for HTML_Progress_DM::getValue.
## See HTML_Progress::setValue, HTML_Progress::incValue ## Example

    <?php
    require_once 'HTML/Progress.php';

    $bar = new HTML_Progress();

    printf('direct way: value = %d <br/>', $bar->getValue());

    $dm =& $bar->getDM();
    printf('another way: value = %d <br/>', $dm->getValue());
    ?>
Prev | Up | Next
HTML_Progress::setMinimum | Reference Guide | HTML_Progress::setValue
Documentation generated on Sun, 12 Sep 2004 20:23:17 +0200 by phpDocumentor 1.3.0RC3