previousFAQ (Previous) (Next) HTML_Table::addBody()next

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

Constructor HTML_Table::HTML_Table()

Constructor HTML_Table::HTML_Table() – コンストラクタ

Synopsis

require_once 'HTML/Table.php';

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

Description

クラスのコンストラクタです。

Parameter

  • array $attributes - table タグの属性の連想配列。

  • integer $tabOffset - テーブルの tab オフセット。

  • boolean $useTGroups - thead、tfoot および tbody のグループ分けを使用するかどうか。

Note

This function can not be called statically.

previousFAQ (Previous) (Next) HTML_Table::addBody()next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
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'));