contenido\classes\class.table.php
Project:
Contenido Content Management System
Description: Generic table builder
Requirements:
- Author
- Timo A. Hummel
- Con_php_req
- 5.0
- Copyright
- four for business AG
- License
- http://www.contenido.org/license/LIZENZ.txt
- Link
- http://www.4fb.de
- Link
- http://www.contenido.org
- Package
- Contenido Backend classes
- Since
- file available since contenido release <= 4.6 {@internal created unknown modified 2008-06-30, Frederic Schneider, add security fix modified 2008-07-03, Timo.Trautmann, added linebreaks for readable source code $Id: class.table.php 606 2008-07-11 14:16:44Z dominik.ziegler $: }}
- Version
- 1.0.2
\Table
Package: Default




Properties
Methods


Table( $m_bordercolor = "#EEEEEE", $m_borderstyle = "solid", $m_cellspacing = "0", $m_cellpadding = "2", $m_header_color = "#222222", $m_light_color = "#AAAAAA", $m_dark_color = "#777777", $m_fullborder = false, $m_directoutput = true) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$m_bordercolor | ||
$m_borderstyle | ||
$m_cellspacing | ||
$m_cellpadding | ||
$m_header_color | ||
$m_light_color | ||
$m_dark_color | ||
$m_fullborder | ||
$m_directoutput |


borderless_cell( $content, $align = "center", $valign = "top", $additional = "") : void
Outputs a borderless cell
Parameters
Name | Type | Description |
---|---|---|
$content | The content which will fill the cell | |
$align | The horizontal alignment of the cell, default "center" | |
$valign | The vertical alignment of the cell, default "top" | |
$additional | Additional flags for the table |


cell( $content, $align = "center", $valign = "top", $additional = "", $bSetStyle = true) : void
Outputs a regular cell
Parameters
Name | Type | Description |
---|---|---|
$content | The content which will fill the cell | |
$align | The horizontal alignment of the cell, default "center" | |
$valign | The vertical alignment of the cell, default "top" | |
$additional | Additional flags for the table | |
$bSetStyle |


header_cell( $content, $align = "center", $valign = "top", $additional = "", $borderTop = 1) : void
Outputs a header cell
Parameters
Name | Type | Description |
---|---|---|
$content | The content which will fill the cell | |
$align | The horizontal alignment of the cell, default "center" | |
$valign | The vertical alignment of the cell, default "top" | |
$additional | ||
$borderTop |


header_row(\none $additional = "") : void
Outputs a header row
Parameters
Name | Type | Description |
---|---|---|
$additional | \none |