Ajax/semantic/html/collections/HtmlTable.php 1 location
|
@@ 38-46 (lines=9) @@
|
| 35 |
|
* @param string $key |
| 36 |
|
* @return HtmlTableContent |
| 37 |
|
*/ |
| 38 |
|
public function getPart($key) { |
| 39 |
|
if (\array_key_exists($key, $this->content) === false) { |
| 40 |
|
$this->content[$key]=new HtmlTableContent("", $key); |
| 41 |
|
if ($key !== "tbody") { |
| 42 |
|
$this->content[$key]->setRowCount(1, $this->_colCount); |
| 43 |
|
} |
| 44 |
|
} |
| 45 |
|
return $this->content[$key]; |
| 46 |
|
} |
| 47 |
|
|
| 48 |
|
/** |
| 49 |
|
* Returns/create eventually the body of the table |
Ajax/semantic/html/collections/table/HtmlTable.php 1 location
|
@@ 48-56 (lines=9) @@
|
| 45 |
|
* @param string $key |
| 46 |
|
* @return HtmlTableContent |
| 47 |
|
*/ |
| 48 |
|
public function getPart($key) { |
| 49 |
|
if (\array_key_exists($key, $this->content) === false) { |
| 50 |
|
$this->content[$key]=new HtmlTableContent("", $key); |
| 51 |
|
if ($key !== "tbody") { |
| 52 |
|
$this->content[$key]->setRowCount(1, $this->_colCount); |
| 53 |
|
} |
| 54 |
|
} |
| 55 |
|
return $this->content[$key]; |
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
/** |
| 59 |
|
* Returns/create eventually the body of the table |