@@ -13,6 +13,9 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | class HtmlIconGroups extends HtmlSemCollection { |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @param string $identifier |
|
| 18 | + */ |
|
| 16 | 19 | public function __construct($identifier, $icons=array(), $size="") { |
| 17 | 20 | parent::__construct($identifier, "i", "icons"); |
| 18 | 21 | $this->addItems($icons); |
@@ -10,6 +10,9 @@ discard block |
||
| 10 | 10 | class HtmlList extends HtmlSemCollection { |
| 11 | 11 | protected $_hasCheckedList; |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @param string $identifier |
|
| 15 | + */ |
|
| 13 | 16 | public function __construct($identifier, $items=array()) { |
| 14 | 17 | parent::__construct($identifier, "div", "ui list"); |
| 15 | 18 | $this->addItems($items); |
@@ -22,6 +25,9 @@ discard block |
||
| 22 | 25 | return $item; |
| 23 | 26 | } |
| 24 | 27 | |
| 28 | + /** |
|
| 29 | + * @param integer $niveau |
|
| 30 | + */ |
|
| 25 | 31 | public function addHeader($niveau, $content) { |
| 26 | 32 | $header=new HtmlHeader("header-" . $this->identifier, $niveau, $content, "page"); |
| 27 | 33 | $this->wrap($header); |
@@ -10,6 +10,9 @@ discard block |
||
| 10 | 10 | |
| 11 | 11 | protected $params=array(); |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @param string $identifier |
|
| 15 | + */ |
|
| 13 | 16 | public function __construct( $identifier, $tagName="div", $baseClass="ui"){ |
| 14 | 17 | parent::__construct( $identifier, "div", "ui accordion"); |
| 15 | 18 | } |
@@ -29,6 +32,9 @@ discard block |
||
| 29 | 32 | return ($value instanceof HtmlAccordionItem)===false; |
| 30 | 33 | } |
| 31 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $title |
|
| 37 | + */ |
|
| 32 | 38 | public function addPanel($title,$content){ |
| 33 | 39 | return $this->addItem([$title,$content]); |
| 34 | 40 | } |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | class HtmlIconGroups extends HtmlSemCollection { |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @param string $identifier |
|
| 18 | + */ |
|
| 16 | 19 | public function __construct($identifier, $icons=array(), $size="") { |
| 17 | 20 | parent::__construct($identifier, "i", "icons"); |
| 18 | 21 | $this->addItems($icons); |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | class HtmlIconGroups extends HtmlSemCollection { |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @param string $identifier |
|
| 18 | + */ |
|
| 16 | 19 | public function __construct($identifier, $icons=array(), $size="") { |
| 17 | 20 | parent::__construct($identifier, "i", "icons"); |
| 18 | 21 | $this->addItems($icons); |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | class HtmlIconGroups extends HtmlSemCollection { |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @param string $identifier |
|
| 18 | + */ |
|
| 16 | 19 | public function __construct($identifier, $icons=array(), $size="") { |
| 17 | 20 | parent::__construct($identifier, "i", "icons"); |
| 18 | 21 | $this->addItems($icons); |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | class HtmlIconGroups extends HtmlSemCollection { |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @param string $identifier |
|
| 18 | + */ |
|
| 16 | 19 | public function __construct($identifier, $icons=array(), $size="") { |
| 17 | 20 | parent::__construct($identifier, "i", "icons"); |
| 18 | 21 | $this->addItems($icons); |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | class HtmlIconGroups extends HtmlSemCollection { |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @param string $identifier |
|
| 18 | + */ |
|
| 16 | 19 | public function __construct($identifier, $icons=array(), $size="") { |
| 17 | 20 | parent::__construct($identifier, "i", "icons"); |
| 18 | 21 | $this->addItems($icons); |
@@ -69,6 +69,9 @@ discard block |
||
| 69 | 69 | return $tr; |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | + /** |
|
| 73 | + * @param integer $value |
|
| 74 | + */ |
|
| 72 | 75 | public function newRow($value) { |
| 73 | 76 | return $this->createItem($value); |
| 74 | 77 | } |
@@ -102,7 +105,7 @@ discard block |
||
| 102 | 105 | /** |
| 103 | 106 | * |
| 104 | 107 | * @param int $index |
| 105 | - * @return \Ajax\semantic\html\content\HtmlTR |
|
| 108 | + * @return \Ajax\common\html\HtmlDoubleElement |
|
| 106 | 109 | */ |
| 107 | 110 | public function getRow($index) { |
| 108 | 111 | return $this->getItem($index); |
@@ -146,6 +149,9 @@ discard block |
||
| 146 | 149 | return $this; |
| 147 | 150 | } |
| 148 | 151 | |
| 152 | + /** |
|
| 153 | + * @param integer $colIndex |
|
| 154 | + */ |
|
| 149 | 155 | public function setColValues($colIndex, $values=array()) { |
| 150 | 156 | $count=$this->count(); |
| 151 | 157 | if (\is_array($values) === false) { |
@@ -166,6 +172,9 @@ discard block |
||
| 166 | 172 | return $this; |
| 167 | 173 | } |
| 168 | 174 | |
| 175 | + /** |
|
| 176 | + * @param integer $rowIndex |
|
| 177 | + */ |
|
| 169 | 178 | public function setRowValues($rowIndex, $values=array()) { |
| 170 | 179 | $count=$this->count(); |
| 171 | 180 | if (\is_array($values) === false) { |
@@ -175,6 +184,9 @@ discard block |
||
| 175 | 184 | return $this; |
| 176 | 185 | } |
| 177 | 186 | |
| 187 | + /** |
|
| 188 | + * @param string $function |
|
| 189 | + */ |
|
| 178 | 190 | private function colAlign($colIndex, $function) { |
| 179 | 191 | $count=$this->count(); |
| 180 | 192 | for($i=0; $i < $count; $i++) { |