@@ -21,7 +21,6 @@ |
||
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * @param string $identifier |
| 24 | - * @param array $items |
|
| 25 | 24 | * @return HtmlCardGroups |
| 26 | 25 | */ |
| 27 | 26 | public function htmlCardGroups($identifier, $cards=array()) { |
@@ -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); |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | /** |
| 26 | 26 | * Define the html attribute for each element url in ajax |
| 27 | 27 | * @param string $attr html attribute |
| 28 | - * @return HtmlNavElement |
|
| 28 | + * @return NavElementTrait |
|
| 29 | 29 | */ |
| 30 | 30 | public function setAttr($attr) { |
| 31 | 31 | $this->attr = $attr; |