previousHTML_Table::addBody() (Previous) (Next) HTML_Table::addRow()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_Table::addCol()

HTML_Table::addCol() – Add column

Synopsis

require_once 'HTML/Table.php';

int HTML_Table::addCol ( array $contents = null , mixed $attributes = null , string $type='TD' , int $body=0 )

Description

Adds a table column and returns the column identifier

Parameter

  • array $contents - Must be an indexed array of valid cell contents.

  • mixed $attributes - Associative array or string of table row attributes

  • string $type - Cell type either 'th' or 'td'

  • int $body - The number of the tbody group that should be used

Return value

int - the identifier for the column

Note

This function can not be called statically.

previousHTML_Table::addBody() (Previous) (Next) HTML_Table::addRow()next

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.