You are here

function crumbs_UI_Table::__construct in Crumbs, the Breadcrumbs suite 7.2

The constructor.

File

lib/UI/Table.php, line 39

Class

crumbs_UI_Table
A class to render HTML tables.

Code

function __construct() {
  $this->columns = new crumbs_UI_TableColumns();
  $this->thead = new crumbs_UI_TableSection($this->columns);
  $this->tbody = new crumbs_UI_TableSection($this->columns);
  $this->tfoot = new crumbs_UI_TableSection($this->columns);
}