|
@@ 987-996 (lines=10) @@
|
| 984 |
|
$tFootColCount = $this->_tfoot->getColCount(); |
| 985 |
|
} |
| 986 |
|
$maxColCount = max($tHeadColCount, $tFootColCount, $tBodyMaxColCount); |
| 987 |
|
if ($this->_thead !== null) { |
| 988 |
|
$this->_thead->setColCount($maxColCount); |
| 989 |
|
if ($this->_thead->getRowCount() > 0) { |
| 990 |
|
$strHtml .= $tabs . $tab . '<thead' . |
| 991 |
|
$this->_getAttrString($this->_thead->_attributes) . |
| 992 |
|
'>' . $lnEnd; |
| 993 |
|
$strHtml .= $this->_thead->toHtml($tabs, $tab); |
| 994 |
|
$strHtml .= $tabs . $tab . '</thead>' . $lnEnd; |
| 995 |
|
} |
| 996 |
|
} |
| 997 |
|
if ($this->_tfoot !== null) { |
| 998 |
|
$this->_tfoot->setColCount($maxColCount); |
| 999 |
|
if ($this->_tfoot->getRowCount() > 0) { |
|
@@ 997-1006 (lines=10) @@
|
| 994 |
|
$strHtml .= $tabs . $tab . '</thead>' . $lnEnd; |
| 995 |
|
} |
| 996 |
|
} |
| 997 |
|
if ($this->_tfoot !== null) { |
| 998 |
|
$this->_tfoot->setColCount($maxColCount); |
| 999 |
|
if ($this->_tfoot->getRowCount() > 0) { |
| 1000 |
|
$strHtml .= $tabs . $tab . '<tfoot' . |
| 1001 |
|
$this->_getAttrString($this->_tfoot->_attributes) . |
| 1002 |
|
'>' . $lnEnd; |
| 1003 |
|
$strHtml .= $this->_tfoot->toHtml($tabs, $tab); |
| 1004 |
|
$strHtml .= $tabs . $tab . '</tfoot>' . $lnEnd; |
| 1005 |
|
} |
| 1006 |
|
} |
| 1007 |
|
for ($i = 0; $i < $this->_tbodyCount; $i++) { |
| 1008 |
|
$this->_tbodies[$i]->setColCount($maxColCount); |
| 1009 |
|
if ($this->_tbodies[$i]->getRowCount() > 0) { |