Hazaar\Html
Table
The HTML table class.

Displays an HTML <table> element.

Extends
\Block
Summary
MethodsPropertiesConstants
No constants
Properties
$tbody
$tbody
$tfoot
$tfoot
$thead
$thead
Methods
__construct()
__construct($rows = null, $parameters = Array ( ) )

The HTML table constructor.

addFooter()
addFooter($fields)

Add a header to the table. If a header was previously set, it will be overwritten as only a single header is allowed.

addFooters()
addFooters($rows)

Add multiple headers at a time. Takes an array of row arrays.

addHeader()
addHeader($fields)

Add a header to the table. If a header was previously set, it will be overwritten as only a single header is allowed.

addHeaders()
addHeaders($rows)

Add multiple headers at a time. Takes an array of row arrays.

addRow()
addRow($fields)

Add a row to the table.

addRows()
addRows($rows)

Add multiple rows at a time. Takes an array of row arrays.