Starting the table directly with a row, the class automatically defines 'thead' and 'tfoot' element with an empty row.
The method checks if a row is already defined and must be closed first.
You can define 1 attribute/value pair for the row, calling the method. If you need further attributes for the new row, use method addAttribute(), before passing the content.
The element and attributes are stored in buffer first and will be parsed and written in the output string if the content is defined.
After all settings are done use addColumn(); to define your columns with content.</p>
</div>
<divclass="description detailed hidden">
<p>Add new table row.
Starting the table directly with a row, the class automatically defines 'thead' and 'tfoot' element with an empty row.
The method checks if a row is already defined and must be closed first.
You can define 1 attribute/value pair for the row, calling the method. If you need further attributes for the new row, use method addAttribute(), before passing the content.
The element and attributes are stored in buffer first and will be parsed and written in the output string if the content is defined.
After all settings are done use addColumn(); to define your columns with content.</p>
<h4>Parameters</h4>
<divclass="list"><dl>
<dt><var>$data</var></dt>
<dd>Content for the table row as string, or array</dd>
<dt><var>$arrAttributes</var></dt>
<dd>Further attributes as array with key/value pairs</dd>
<dt><var>$col</var></dt>
<dd>Column element 'td' or 'th' (Default: 'td')</dd>