CI_Table::set_heading()

set_heading([$args = array()[, ...]])

Parameters:
  • $args (mixed) – An array or multiple strings containing the table column titles
Returns:

CI_Table instance (method chaining)

Return type:

CI_Table

Permits you to set the table heading. You can submit an array or discrete params:

$this->table->set_heading('Name', 'Color', 'Size');

$this->table->set_heading(array('Name', 'Color', 'Size'));
doc_CodeIgniter
2016-10-15 16:31:56
Comments
Leave a Comment

Please login to continue.