@@ -7,6 +7,11 @@ |
||
7 | 7 | * @property mixed $content |
8 | 8 | */ |
9 | 9 | trait ContentPartTrait{ |
10 | + |
|
11 | + /** |
|
12 | + * @param \Ajax\semantic\html\elements\HtmlButtonGroups $element |
|
13 | + * @param string $partKey |
|
14 | + */ |
|
10 | 15 | public function addElementInPart($element,$partKey,$before=false,$force=false){ |
11 | 16 | $part=$this->getPart($partKey,null,$force); |
12 | 17 | if($part instanceof HtmlSemDoubleElement){ |
@@ -12,6 +12,10 @@ |
||
12 | 12 | |
13 | 13 | class HtmlViewContent extends HtmlSemDoubleElement { |
14 | 14 | use ContentPartTrait; |
15 | + |
|
16 | + /** |
|
17 | + * @param string $identifier |
|
18 | + */ |
|
15 | 19 | public function __construct($identifier, $content=array()) { |
16 | 20 | parent::__construct($identifier, "div", "content",[]); |
17 | 21 | $this->setContent($content); |