@@ -10,6 +10,9 @@ discard block |
||
| 10 | 10 | |
| 11 | 11 | class HtmlDropdownItem extends HtmlSemDoubleElement { |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @param string $identifier |
|
| 15 | + */ |
|
| 13 | 16 | public function __construct($identifier, $content="",$value=NULL,$image=NULL) { |
| 14 | 17 | parent::__construct($identifier, "div"); |
| 15 | 18 | $this->setClass("item"); |
@@ -60,6 +63,9 @@ discard block |
||
| 60 | 63 | return $this; |
| 61 | 64 | } |
| 62 | 65 | |
| 66 | + /** |
|
| 67 | + * @param string $content |
|
| 68 | + */ |
|
| 63 | 69 | public function setContent($content){ |
| 64 | 70 | if($content==="-"){ |
| 65 | 71 | $this->asDivider(); |