@@ -36,12 +36,15 @@ discard block |
||
| 36 | 36 | * |
| 37 | 37 | * @param string $attachTo |
| 38 | 38 | * @param string|array $params |
| 39 | - * @return $this |
|
| 39 | + * @return common\components\SimpleComponent |
|
| 40 | 40 | */ |
| 41 | 41 | public function popup($attachTo=NULL, $params=NULL) { |
| 42 | 42 | return $this->addComponent(new Popup($this->js), $attachTo, $params); |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | + /** |
|
| 46 | + * @param string $attachTo |
|
| 47 | + */ |
|
| 45 | 48 | public function dropdown($attachTo=NULL, $params=NULL) { |
| 46 | 49 | return $this->addComponent(new Dropdown($this->js), $attachTo, $params); |
| 47 | 50 | } |
@@ -201,7 +204,7 @@ discard block |
||
| 201 | 204 | |
| 202 | 205 | /** |
| 203 | 206 | * @param string $identifier |
| 204 | - * @param number $niveau |
|
| 207 | + * @param integer $niveau |
|
| 205 | 208 | * @param mixed $content |
| 206 | 209 | * @param string $type |
| 207 | 210 | */ |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | use Ajax\semantic\html\base\constants\Side; |
| 5 | 5 | trait AttachedTrait { |
| 6 | 6 | /** |
| 7 | - * @param string $side |
|
| 8 | 7 | * @return \Ajax\semantic\html\base\HtmlSemDoubleElement |
| 9 | 8 | */ |
| 10 | 9 | public function setAttachment($value=Side::BOTH){ |