You are here

function crumbs_UI_TableSection::addRowName in Crumbs, the Breadcrumbs suite 7.2

Parameters

string $rowName:

Return value

$this

Throws

Exception

File

lib/UI/TableSection.php, line 40

Class

crumbs_UI_TableSection

Code

function addRowName($rowName) {
  if (isset($this->rows[$rowName])) {
    throw new \Exception("Row '{$rowName}' already exists.");
  }
  $this->rows[$rowName] = TRUE;
  return $this;
}