HTML_Table::setColCount()

HTML_Table::setColCount() – Set number of columns

Synopsis

require_once 'HTML/Table.php';

void HTML_Table::setColCount ( int $cols , int $body=0 )

Description

Sets the number of columns in the table

Parameter

  • int $cols - number of columns to create

  • int $body - The number of the tbody group that should be used

Note

This function can not be called statically.