PEAR Progress2 logo

HTML_Progress2 : The Definitive Guide



Name

HTML_Progress2::setCellCount - count of cell in the progress meter

Synopsis

      require_once 'HTML/Progress2.php';
     
void HTML_Progress2::setCellCount( $cells);
integer $cells;

Description

Defines the number of cell to a progress meter. It must be positive. The default value is 10.

Parameter

integer $cells

Cell count on progress meter

See

see HTML_Progress2::getCellCount

Throws

throws HTML_PROGRESS2_ERROR_INVALID_INPUT

Note

since 2.0.0

This function can not be called statically.

HTML_Progress2 : The Definitive Guide v 2.2.0 : January 2, 2007