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:

1
2
3
$this->table->set_heading('Name', 'Color', 'Size');
 
$this->table->set_heading(array('Name', 'Color', 'Size'));
doc_CodeIgniter
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.