Exemplo n.º 1
0
 /**
  * @param string[] $cells
  *   Format: $[$colName] = $content
  *
  * @return $this
  */
 function tdMultiple(array $cells)
 {
     foreach ($cells as $rowName => $content) {
         $this->tsection->td($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 td($rowName, $colName, $content)
 {
     $this->tbody->td($rowName, $colName, $content);
     return $this;
 }