| @@ 478-485 (lines=8) @@ | ||
| 475 | * @return int |
|
| 476 | * @throws PEAR_Error |
|
| 477 | */ |
|
| 478 | function getColCount($row = null, $body = 0) |
|
| 479 | { |
|
| 480 | $ret = $this->_adjustTbodyCount($body, 'getColCount'); |
|
| 481 | if (PEAR::isError($ret)) { |
|
| 482 | return $ret; |
|
| 483 | } |
|
| 484 | return $this->_tbodies[$body]->getColCount($row); |
|
| 485 | } |
|
| 486 | ||
| 487 | /** |
|
| 488 | * Sets a rows type 'TH' or 'TD' |
|
| @@ 816-823 (lines=8) @@ | ||
| 813 | * @access public |
|
| 814 | * @throws PEAR_Error |
|
| 815 | */ |
|
| 816 | function addCol($contents = null, $attributes = null, $type = 'td', $body = 0) |
|
| 817 | { |
|
| 818 | $ret = $this->_adjustTbodyCount($body, 'addCol'); |
|
| 819 | if (PEAR::isError($ret)) { |
|
| 820 | return $ret; |
|
| 821 | } |
|
| 822 | return $this->_tbodies[$body]->addCol($contents, $attributes, $type); |
|
| 823 | } |
|
| 824 | ||
| 825 | /** |
|
| 826 | * Sets the column attributes for an existing column |
|