function crumbs_UI_TableSection::td in Crumbs, the Breadcrumbs suite 7.2
Parameters
string $rowName:
string $colName:
string $content:
Return value
$this
Throws
Exception
File
- lib/
UI/ TableSection.php, line 67
Class
Code
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;
}