HTML_Table::HTML_Table

HTML_Table::HTML_Table – Constructeur

Synopsis

require_once 'HTML/Table.php';

void HTML_Table::HTML_Table ( array $attributes = = null , integer $tabOffset=0 , boolean $useTGroups=false )

Description

Constructeur de la classe.

Parameter

  • array $attributes - Tableau associatif d'attributs

  • integer $tabOffset - Position dans le tableau

  • boolean $useTGroups - Si l'on doit ou non utiliser les groupes thead, tfoot et tbody

Note

This function can be called statically.

Answers to most Frequently Asked Questions (Previous) Add body (Next)
Last updated: Sun, 29 Aug 2010 — 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:

User Notes:

Note by: cweiske
After creating the table you can still change attributes. HTML_Table extends HTML_Common which provides methods like setAttribute('attname', 'attavalue');
Note by: cweiske
The attributes parameter takes an array of actual html table tag attributes, e.g.
$table = new HTML_Table(array('border' => '1', 'class' => 'cssclass'));