HTML_Progress::incValue

HTML_Progress

Prev |  | Next
HTML_Progress::incValue adds increment to the current progress meter value ## Synopsis require_once 'HTML/Progress.php'; void HTML_Progress::incValue() ## Description This method is used to update the current value 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::incValue.
## See HTML_Progress::getValue, HTML_Progress::setValue ## Example

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

    $bar = new HTML_Progress();
    $bar->setIncrement(5);

    $bar->incValue();
    printf('value after 1st update = %d <br/>', $bar->getValue());

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