Methods

Constructor

Table($m_bordercolor, $m_borderstyle, $m_cellspacing, $m_cellpadding, $m_header_color, $m_light_color, $m_dark_color, $m_fullborder, $m_directoutput) 

Parameters

$m_bordercolor

$m_borderstyle

$m_cellspacing

$m_cellpadding

$m_header_color

$m_light_color

$m_dark_color

$m_fullborder

$m_directoutput

Outputs a borderless cell

borderless_cell($content, $align, $valign, $additional) 

Parameters

$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

Outputs a regular cell

cell($content, $align, $valign, $additional, $bSetStyle) 

Parameters

$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

Ends a row

end_row() : void

Ends a table

end_table() : void

Outputs a header cell

header_cell($content, $align, $valign, $additional, $borderTop) : void

Parameters

$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

Outputs a header row

header_row(\none $additional) : void

Parameters

$additional

\none

Outputs a regular row

row(\none $id) : void

Parameters

$id

\none

Begins the new table

start_table() : void

Outputs a sum cell

sumcell($content, $align, $valign) 

Parameters

$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"

 Properties

 

$border_color : string
 

$border_style : string
 

$cell_padding : string
 

$cell_spacing : string
 

$dark_color : string
 

$dark_row : bool
 

$directoutput 
 

$first_cell : bool
 

$fullborder : bool
 

$header_color : string
 

$light_color : string
 

$table_cols : int