@@ 322-327 (lines=6) @@ | ||
319 | foreach ($data as $row) { |
|
320 | $this->tableBody .= "\n<tr>"; |
|
321 | foreach ($columnSpecs as $key => $columnSpec) { |
|
322 | if (!$this->isTableFooter($columnSpec)) { |
|
323 | $colspan = $this->getColspan($columnSpec); |
|
324 | $this->tableBody .= "\n<td{$colspan}>"; |
|
325 | $this->tableBody .= $this->getValue($row, $key, $columnSpec); |
|
326 | $this->tableBody .= "</td>"; |
|
327 | } |
|
328 | } |
|
329 | $this->tableBody .= "\n</tr>"; |
|
330 | } |
|
@@ 445-450 (lines=6) @@ | ||
442 | private function createTableFooter($columnSpecs) |
|
443 | { |
|
444 | foreach ($columnSpecs as $columnSpec) { |
|
445 | if ($this->isTableFooter($columnSpec)) { |
|
446 | $colspan = $this->getColspan($columnSpec); |
|
447 | $this->tableFoot .= "\n<td{$colspan}>"; |
|
448 | $this->tableFoot .= $this->getFooterData($columnSpec); |
|
449 | $this->tableFoot .= "</td>"; |
|
450 | } |
|
451 | } |
|
452 | ||
453 | if (isset($this->tableFoot)) { |