HTML_Progress_UI::getCellCount

HTML_Progress

Prev |  | Next
HTML_Progress_UI::getCellCount returns cell count into a progress bar ## Synopsis require_once 'HTML/Progress/UI.php'; int HTML_Progress_UI::getCellCount() ## Description This method is used to retrieve the number of cell defined into a progress bar. A basic progress bar has ten cells by default. ## Note ( HTML_Progress >= 1.0 )
| This function can not be called statically.
## See HTML_Progress_UI::setCellCount ## Example Example below will give you the number of cell defined in this progress bar:

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

    $bar = new HTML_Progress();

    $ui =& $bar->getUI();
    $ui->setCellCount(5);

    printf('this progress bar has %d cell(s)', $ui->getCellCount());
    ?>
Prev | Up | Next
HTML_Progress_UI::setFillWay | Reference Guide | HTML_Progress_UI::setCellCount
Documentation generated on Sun, 12 Sep 2004 20:23:21 +0200 by phpDocumentor 1.3.0RC3