Badtable


Set Footer

The set_footer() method is used to define a row of table footer cells in your table.

set_footer (array footer)

Example:

$footer = array(
	'Name',
	'Color',
	'Size'		
);

$this->badtable->set_footer($footer);

set_footer (array footer [,array attributes])

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...]])

Example:

$this->badtable->set_footer('Name', 'Color', 'Size');

set_footer (string footer1 [, string footer2 [, string footer... [, array attributes]]])

Example:

$attr = array(
	'class'	=> 'highlight',
	'align'	=> 'center' 
);

$this->badtable->set_footer('Name', 'Color', 'Size', $attr);