@@ -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); |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | * |
| 176 | 176 | * @param string $element |
| 177 | 177 | * @param array $options |
| 178 | - * @return void |
|
| 178 | + * @return string |
|
| 179 | 179 | */ |
| 180 | 180 | public function sortable($element, $options=array()) { |
| 181 | 181 | if (count($options)>0) { |
@@ -354,6 +354,9 @@ discard block |
||
| 354 | 354 | return $value; |
| 355 | 355 | } |
| 356 | 356 | |
| 357 | + /** |
|
| 358 | + * @param string $input |
|
| 359 | + */ |
|
| 357 | 360 | private function minify($input) { |
| 358 | 361 | if(trim($input) === "") return $input; |
| 359 | 362 | return preg_replace( |
@@ -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); |
@@ -16,6 +16,9 @@ |
||
| 16 | 16 | |
| 17 | 17 | trait BootstrapComponentsTrait { |
| 18 | 18 | |
| 19 | + /** |
|
| 20 | + * @param string|null $attachTo |
|
| 21 | + */ |
|
| 19 | 22 | public abstract function addComponent(SimpleComponent $component, $attachTo, $params); |
| 20 | 23 | /** |
| 21 | 24 | * |
@@ -35,12 +35,18 @@ |
||
| 35 | 35 | return $segment; |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | + /** |
|
| 39 | + * @param integer $index |
|
| 40 | + */ |
|
| 38 | 41 | public function activate($index){ |
| 39 | 42 | $this->content["menu"]->getItem($index)->setActive(true); |
| 40 | 43 | $this->content[$index]->setActive(true); |
| 41 | 44 | return $this; |
| 42 | 45 | } |
| 43 | 46 | |
| 47 | + /** |
|
| 48 | + * @param string $title |
|
| 49 | + */ |
|
| 44 | 50 | public function addPanel($title,$content){ |
| 45 | 51 | return $this->addItem([$title,$content]); |
| 46 | 52 | } |