previousHTML_Table::addCol (Previous) (Next) HTML_Table::altRowAttributesnext

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::addRow

HTML_Table::addRow – Ajoute une ligne

Synopsis

require_once "HTML/Table.php";

int HTML_Table::addRow ( array $contents = = null , mixed $attributes = = null , string $type='TD' , boolean $inTR = = false )

Description

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

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. Ceci peut également être un tableau d'attributs, et dans ce cas, les attributs seront répétés dans une boucle.

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

  • boolean $inTR - FALSE, si les attributs doivent être appliqués aux balises TD ; TRUE, si les attributs doivent être appliqués aux balises TR

Return value

int - the row identifier

Note

This function can not be called statically.

previousHTML_Table::addCol (Previous) (Next) HTML_Table::altRowAttributesnext

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.