| @@ 323-328 (lines=6) @@ | ||
| 320 | foreach ($data as $row) { |
|
| 321 | $this->tableBody .= "\n<tr>"; |
|
| 322 | foreach ($columnSpecs as $key => $columnSpec) { |
|
| 323 | if (!$this->isTableFooter($columnSpec)) { |
|
| 324 | $colspan = $this->getColspan($columnSpec); |
|
| 325 | $this->tableBody .= "\n<td{$colspan}>"; |
|
| 326 | $this->tableBody .= $this->getValue($row, $key, $columnSpec); |
|
| 327 | $this->tableBody .= "</td>"; |
|
| 328 | } |
|
| 329 | } |
|
| 330 | $this->tableBody .= "\n</tr>"; |
|
| 331 | } |
|
| @@ 419-424 (lines=6) @@ | ||
| 416 | private function createTableFooter($columnSpecs) |
|
| 417 | { |
|
| 418 | foreach ($columnSpecs as $columnSpec) { |
|
| 419 | if ($this->isTableFooter($columnSpec)) { |
|
| 420 | $colspan = $this->getColspan($columnSpec); |
|
| 421 | $this->tableFoot .= "\n<td{$colspan}>"; |
|
| 422 | $this->tableFoot .= $this->getFooterData($columnSpec); |
|
| 423 | $this->tableFoot .= "</td>"; |
|
| 424 | } |
|
| 425 | } |
|
| 426 | ||
| 427 | if (isset($this->tableFoot)) { |
|