__construct()
__construct(array $hash)
Construct a new group line for tabular report groups.
These lines can be used for either headers or footers.
This method accepts an associative array of either strings or tabular_report_cellfmt objects. If the value is a string, it is passed to the constructor of tabular_report_cellfmt. The keys of the associative array must match defined report columns.
It is possible to define nothing for a particular column in a group line. in which case nothing will be output for that particular column in that particular header or footer line.
Parameters
array | $hash | An associative array of strings or tabular_report_cellfmt objects. |