HTML_Progress::isIndeterminate

HTML_Progress

Prev |  | Next
HTML_Progress::isIndeterminate determines whether the progress meter is in determinate mode or not ## Synopsis require_once 'HTML/Progress.php'; bool HTML_Progress::isIndeterminate() ## Description This method is used to know whether the progress meter is switched on determinate mode (default) or not (indeterminate). ## Note ( HTML_Progress >= 1.0 )
| This function can not be called statically.
## See HTML_Progress::setIndeterminate ## Example Look and feel of indeterminate mode used with HTML_Progress_Monitor.

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

    $bar = new HTML_Progress();
    $test = "\$res = \$bar->isIndeterminate() ? 'yes':'no';";

    eval($test);
    printf('try 1: progress bar in indeterminate mode ? %s <br/>', $res);

    $bar->setIndeterminate(true);
    eval($test);
    printf('try 2: progress bar in indeterminate mode ? %s <br/>', $res);
    ?>
Prev | Up | Next
HTML_Progress::setModel | Reference Guide | HTML_Progress::setIndeterminate
Documentation generated on Sun, 12 Sep 2004 20:23:11 +0200 by phpDocumentor 1.3.0RC3