array $contents - Must be an indexed array of valid cell contents
mixed $attributes - Associative array or string of table row attributes. This can also be an array of attributes, in which case the attributes will be repeated in a loop.
string $type - Cell type either 'TH' or 'TD'
boolean $inTR - false, if attributes are to be applied in TD tags; true, if attributes are to be applied in TR tag