Exemplo n.º 1
0
 /**
  * @param string[] $cells
  *   Format: $[$colName] = $content
  *
  * @return $this
  */
 function thMultiple(array $cells)
 {
     foreach ($cells as $rowName => $content) {
         $this->tsection->th($rowName, $this->colName, $content);
     }
     return $this;
 }
Exemplo n.º 2
0
 /**
  * @param string|string[] $rowName
  *   Row name, group or range.
  * @param string|string[] $colName
  *   Column name, group or range.
  * @param string $content
  *   HTML cell content.
  *
  * @return $this
  * @throws \Exception
  */
 function th($rowName, $colName, $content)
 {
     $this->tbody->th($rowName, $colName, $content);
     return $this;
 }