Exemplo n.º 1
0
 /**
  * @param string $rowName
  * @param string $colName
  * @param string $content
  *
  * @return $this
  * @throws Exception
  */
 function td($rowName, $colName, $content)
 {
     if (!isset($this->rows[$rowName]) && '' !== $rowName) {
         throw new \Exception("Unknown row name '{$rowName}'.");
     }
     $this->columns->verifyColName($colName);
     $this->cells[$rowName][$colName] = array($content, 'td', array());
     return $this;
 }