Build a table suitable for lists.
By a 'list' table, we mean a two column table with label:data pairs for example:
Product : Thingumy
Colour: Blue
Size: 25
| package | dstruct_presentation |
|---|
__construct(array $dataset, string $tableclass, string $leftclass, string $rightclass)
arrayData for table
stringClass to be added to the table element.
stringClass to be added to td elements on the left side of the table.
stringClass to be added to the td elements on the right side of the table.
addRow($arraydata)
| see | \TableBuilder::addRow() |
|---|
Array of data to add (should just have two elements!)
write(string $tablestart, string $tableend) : string
$tablestart and $tableend are useful if you need to buffer long tables etc.
stringInclude
<
table> in the string.
stringInclude in the string.
string$arraydata : array
$leftclass : string
$rightclass : string
$tableclass : string
$z : integer