HTML_Table::setCaption() – Set table caption


require_once 'HTML/Table.php';

void HTML_Table::setCaption ( string $caption , mixed $attributes = null )


Sets the caption of a table. This does not refer to the <th>-tag. The <caption>-tag defines a headline for the whole table.


  • string $caption - the caption string

  • mixed $attributes - Associative array or string of caption attributes


This function can not be called statically.

Set autoFill value (Previous) Set cell attributes (Next)
Last updated: Mon, 23 Jan 2017 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.