@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * |
42 | 42 | * @param string $attachTo |
43 | 43 | * @param string|array $params |
44 | - * @return $this |
|
44 | + * @return common\components\SimpleComponent |
|
45 | 45 | */ |
46 | 46 | public function generic($attachTo=NULL, $params=NULL) { |
47 | 47 | return $this->addComponent(new GenericComponent($this->js), $attachTo, $params); |
@@ -50,16 +50,22 @@ discard block |
||
50 | 50 | * |
51 | 51 | * @param string $attachTo |
52 | 52 | * @param string|array $params |
53 | - * @return $this |
|
53 | + * @return common\components\SimpleComponent |
|
54 | 54 | */ |
55 | 55 | public function popup($attachTo=NULL, $params=NULL) { |
56 | 56 | return $this->addComponent(new Popup($this->js), $attachTo, $params); |
57 | 57 | } |
58 | 58 | |
59 | + /** |
|
60 | + * @param string $attachTo |
|
61 | + */ |
|
59 | 62 | public function dropdown($attachTo=NULL, $params=NULL) { |
60 | 63 | return $this->addComponent(new Dropdown($this->js), $attachTo, $params); |
61 | 64 | } |
62 | 65 | |
66 | + /** |
|
67 | + * @param string $attachTo |
|
68 | + */ |
|
63 | 69 | public function accordion($attachTo=NULL, $params=NULL) { |
64 | 70 | return $this->addComponent(new Accordion($this->js), $attachTo, $params); |
65 | 71 | } |
@@ -220,7 +226,7 @@ discard block |
||
220 | 226 | |
221 | 227 | /** |
222 | 228 | * @param string $identifier |
223 | - * @param number $niveau |
|
229 | + * @param integer $niveau |
|
224 | 230 | * @param mixed $content |
225 | 231 | * @param string $type |
226 | 232 | */ |
@@ -239,7 +245,6 @@ discard block |
||
239 | 245 | /** |
240 | 246 | * Return a new Seamntic Html Breadcrumb |
241 | 247 | * @param string $identifier |
242 | - * @param array $elements |
|
243 | 248 | * @param boolean $autoActive sets the last element's class to <b>active</b> if true. default : true |
244 | 249 | * @param function $hrefFunction the function who generates the href elements. default : function($e){return $e->getContent()} |
245 | 250 | * @return HtmlBreadcrumb |