@@ -25,10 +25,16 @@ |
||
| 25 | 25 | return $this->addComponent(new Popup($this->js), $attachTo, $params); |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @param string $attachTo |
|
| 30 | + */ |
|
| 28 | 31 | public function dropdown($attachTo=NULL, $params=NULL) { |
| 29 | 32 | return $this->addComponent(new Dropdown($this->js), $attachTo, $params); |
| 30 | 33 | } |
| 31 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $attachTo |
|
| 37 | + */ |
|
| 32 | 38 | public function accordion($attachTo=NULL, $params=NULL) { |
| 33 | 39 | return $this->addComponent(new Accordion($this->js), $attachTo, $params); |
| 34 | 40 | } |
@@ -99,8 +99,9 @@ |
||
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | public function colCenter($colIndex){ |
| 102 | - if($this->hasPart("thead")) |
|
| 103 | - $this->getHeader()->colCenter($colIndex); |
|
| 102 | + if($this->hasPart("thead")) { |
|
| 103 | + $this->getHeader()->colCenter($colIndex); |
|
| 104 | + } |
|
| 104 | 105 | $this->getBody()->colCenter($colIndex); |
| 105 | 106 | return $this; |
| 106 | 107 | } |