previousHTML_Table::setCaption (Previous) (Next) HTML_Table::setCellContentsnext

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

HTML_Table::setCellAttributes – Définit les attributs de cellule

Synopsis

require_once 'HTML/Table.php';

void HTML_Table::setCellAttributes ( int $row , int $col , mixed $attributes )

Description

Définit les attributs pour une cellule existante. Si les indices données n'exsitent pas et que autoGrow vaut TRUE, alors, la ligne et/ou la colonne donnée sera automatiquement ajoutée. Si autoGrow vaut FALSE, une erreur sera retournée.

Parameter

  • int $row - Index de la ligne

  • int $col - Index de la colonne

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

Throws

Possible PEAR_Error values
Code erreur Message d'erreur Signification Solution
  " Invalid table row reference [$row ] " La ligne $row n'existe pas Activer la fonctionnalité autoGrow
  " Invalid table column reference [$column ] " La colonne $column n'existe pas Activer la fonctionnalité autoGrow

Note

This function can not be called statically.

previousHTML_Table::setCaption (Previous) (Next) HTML_Table::setCellContentsnext

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.