Set Footer
The set_footer() method is used to define a row of table footer cells in your table.
set_footer (array footer)
- footer: an array of cell values for the table | required
Example:
$footer = array(
'Name',
'Color',
'Size'
);
$this->badtable->set_footer($footer);
set_footer (array footer [,array attributes])
- footer: an array of cell values for the table | required
- attributes: an associative array specifying attributes for the row. | optional
Example:
$footer = array(
'Name',
'Color',
'Size'
);
$attr = array(
'class' => 'highlight',
'align' => 'center'
);
$this->badtable->set_footer($footer, $attr);
set_footer (string footer1 [, string footer2 [, string footer...]])
- footer: define your footers as discrete params | required
Example:
$this->badtable->set_footer('Name', 'Color', 'Size');
set_footer (string footer1 [, string footer2 [, string footer... [, array attributes]]])
- footer: define your footers as discrete params | required
- attributes: an associative array specifying attributes for the row. Must be the last parameter. | optional
Example:
$attr = array(
'class' => 'highlight',
'align' => 'center'
);
$this->badtable->set_footer('Name', 'Color', 'Size', $attr);