The longtable block defines a longtable environment which can be used to create long tables with automatic page breaks.
The constructor takes a mandatory rows array, in which the row types are specified: this can be like X, l r
new LongTable($rows)
'caption' => NULL,
'firsthead' => NULL,
'head' => NULL,
'foot' => NULL,
'lastfoot' => NULL,
'rows' => $rows,
'data' => array(),
'extra_commands' => array(),
The table block defines two extra public functions:
addRow(array()) //Add row data: every array element will be splitted with & and it will be ended with \\
See here.