CI_Table::set_template()

set_template($template)

Parameters:
  • $template (array) – An associative array containing template values
Returns:

TRUE on success, FALSE on failure

Return type:

bool

Permits you to set your template. You can submit a full or partial template.

$template = array(
        'table_open'  => '<table border="1" cellpadding="2" cellspacing="1" class="mytable">'
);

$this->table->set_template($template);
doc_CodeIgniter
2016-10-15 16:31:56
Comments
Leave a Comment

Please login to continue.