getCellCount Manual
returns cell count into a progress bar
Synopsis
integer getCellCount()
Description
The getCellCount() method is used to retrieve the number
of cell defined into a progress bar. A basic progress bar has ten cells by default.
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);
print('this progress bar has ' . $ui->getCellCount() . ' cell(s)');
?>
Output will display "int(5)".
See Also
setCellCount Manual