7.4.1.15 tableHeaders
tableHeaders(array $names, array $trOptions = null, array $thOptions = null)
Creates a row of table header cells to be placed inside of <table> tags.
<?php echo $this->Html->tableHeaders(array('Date','Title','Active'));?>
//Output
<tr>
<th>Date</th>
<th>Title</th>
<th>Active</th>
</tr>
<?php echo $this->Html->tableHeaders(
array('Date','Title','Active'),
array('class' => 'status'),
array('class' => 'product_table')
);?>
//Output
<tr class="status">
<th class="product_table">Date</th>
<th class="product_table">Title</th>
<th class="product_table">Active</th>
</tr>
<?php echo $this->Html->tableHeaders(array('Date','Title','Active'));?>//Output<tr><th>Date</th><th>Title</th><th>Active</th></tr><?php echo $this->Html->tableHeaders(array('Date','Title','Active'),array('class' => 'status'),array('class' => 'product_table'));?>//Output<tr class="status"><th class="product_table">Date</th><th class="product_table">Title</th><th class="product_table">Active</th></tr>


























