Public Member Functions | |
Table ($width="100%", $align="center", $cssClass="normaltable", $outputColumnHeaders=true) | |
setTitle ($title) | |
addColumn ($title="Column", $width="*", $height="40", $align="center", $cssClass="normalcolumn") | |
addRow ($content, $height="30", $align="center", $valign="middle", $colspan="1", $rowspan="1", $cssClass="normalrow") | |
isEmpty () | |
columnCount () | |
rowCount () | |
html () | |
Private Attributes | |
$width | |
$align | |
$cssClass | |
$outputColumnHeaders | |
$columns = array() | |
$totalColumns = 0 | |
$rows = array() | |
$totalRows = 0 | |
$title |
Table::Table | ( | $ | width = "100%" , |
|
$ | align = "center" , |
|||
$ | cssClass = "normaltable" , |
|||
$ | outputColumnHeaders = true | |||
) |
Table::setTitle | ( | $ | title | ) |
Table::addColumn | ( | $ | title = "Column" , |
|
$ | width = "*" , |
|||
$ | height = "40" , |
|||
$ | align = "center" , |
|||
$ | cssClass = "normalcolumn" | |||
) |
Table::addRow | ( | $ | content, | |
$ | height = "30" , |
|||
$ | align = "center" , |
|||
$ | valign = "middle" , |
|||
$ | colspan = "1" , |
|||
$ | rowspan = "1" , |
|||
$ | cssClass = "normalrow" | |||
) |
Table::isEmpty | ( | ) |
Table::columnCount | ( | ) |
Table::rowCount | ( | ) |
Table::html | ( | ) |
Table::$width [private] |
Table::$align [private] |
Table::$cssClass [private] |
Table::$outputColumnHeaders [private] |
Table::$columns = array() [private] |
Table::$totalColumns = 0 [private] |
Table::$rows = array() [private] |
Table::$totalRows = 0 [private] |
Table::$title [private] |