| @@ 193-204 (lines=12) @@ | ||
| 190 | * @access public |
|
| 191 | * @return object |
|
| 192 | */ |
|
| 193 | function &getHeader() |
|
| 194 | { |
|
| 195 | if (is_null($this->_thead)) { |
|
| 196 | $this->_useTGroups = true; |
|
| 197 | $this->_thead = new HTML_Table_Storage($this->_tabOffset, |
|
| 198 | $this->_useTGroups); |
|
| 199 | for ($i = 0; $i < $this->_tbodyCount; $i++) { |
|
| 200 | $this->_tbodies[$i]->setUseTGroups(true); |
|
| 201 | } |
|
| 202 | } |
|
| 203 | return $this->_thead; |
|
| 204 | } |
|
| 205 | ||
| 206 | /** |
|
| 207 | * Returns the HTML_Table_Storage object for <tfoot> |
|
| @@ 211-222 (lines=12) @@ | ||
| 208 | * @access public |
|
| 209 | * @return object |
|
| 210 | */ |
|
| 211 | function &getFooter() |
|
| 212 | { |
|
| 213 | if (is_null($this->_tfoot)) { |
|
| 214 | $this->_useTGroups = true; |
|
| 215 | $this->_tfoot = new HTML_Table_Storage($this->_tabOffset, |
|
| 216 | $this->_useTGroups); |
|
| 217 | for ($i = 0; $i < $this->_tbodyCount; $i++) { |
|
| 218 | $this->_tbodies[$i]->setUseTGroups(true); |
|
| 219 | } |
|
| 220 | } |
|
| 221 | return $this->_tfoot; |
|
| 222 | } |
|
| 223 | ||
| 224 | /** |
|
| 225 | * Returns the HTML_Table_Storage object for the specified <tbody> |
|