previousHTML_Table::addBody() (Previous) (Next) HTML_Table::addRownext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_Table::addCol

HTML_Table::addCol – Ajoute une colonne

Synopsis

require_once 'HTML/Table.php';

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

Description

Ajoute une colonne au tableau et retourne son identifiant de colonne.

Parameter

  • array $contents - Doit être un tableau indexé de contenus de cellules valides

  • mixed $attributes - Tableau associatif ou chaîne de caractères d'attributs de ligne

  • string $type - Type de cellule, soit 'th' , soit 'td'

Return value

int - l'identifiant pour la colonne

Note

This function can not be called statically.

previousHTML_Table::addBody() (Previous) (Next) HTML_Table::addRownext

Download Documentation Last updated: Sun, 18 Oct 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.