setBorder |
|
public void setBorder(int $left,
int $top, int$right, int $bottom)
|
| Parameter |
|
left border width |
|
top border width |
|
right border width |
|
bottom border width |
| |
sets the actual border width
|
| Returns |
void |
| |
addRow |
|
public void addRow( )
|
| |
adds a row to the table
expects a string for each cell in a row
|
| Returns |
void |
| |
setRowProperties |
|
public void setRowProperties( string
$width,string $bgColors, string $borders,string $alignment,
int $padding)
|
| Parameter |
| |
| string |
$width |
|
|
width of the cells in percent as comma seperated string
(sum must be 100) |
|
| |
| string |
$bgColors |
|
|
HEX
values of the background colors of the cells
as comma seperated string, if only one value
is passed it will be used for the whole row
|
|
| |
| string |
$borders |
|
|
border
of the cells, usage:
"b_left_cell1, b_top_cell1,
b_right_cell1, b_bottom_cell1;b_left_cell2,
b_top_cell2, b_right_cell2, b_bottom_cell2"
etc. |
|
| |
| string |
$alignement |
|
|
comma
separated values
example: "left,right,center,left" |
|
| |
| int |
$padding |
|
|
value
for the padding |
|
| |
sets the properties for the actual and following rows
each of the arguments is either
|
| Returns |
void |
| |
getString |
|
public string getString( )
|
| |
returns the string of the created table
|
| Returns |
string table_string |
| |