@@ -14,6 +14,9 @@ discard block |
||
| 14 | 14 | protected $_params=array(); |
| 15 | 15 | protected $_paramParts=array(); |
| 16 | 16 | |
| 17 | + /** |
|
| 18 | + * @param string $identifier |
|
| 19 | + */ |
|
| 17 | 20 | public function __construct($identifier, $header="", $content="", $actions=array()) { |
| 18 | 21 | parent::__construct($identifier, "div","ui modal"); |
| 19 | 22 | if(isset($header)){ |
@@ -27,6 +30,9 @@ discard block |
||
| 27 | 30 | } |
| 28 | 31 | } |
| 29 | 32 | |
| 33 | + /** |
|
| 34 | + * @param string $value |
|
| 35 | + */ |
|
| 30 | 36 | public function setHeader($value) { |
| 31 | 37 | $this->content["header"]=new HtmlSemDoubleElement("header-" . $this->identifier, "a", "header", $value); |
| 32 | 38 | return $this; |
@@ -103,6 +109,9 @@ discard block |
||
| 103 | 109 | return $this->addElementInPart(new HtmlSemDoubleElement($part."-" . $this->identifier, "div", $uiClass, $content), $part); |
| 104 | 110 | } |
| 105 | 111 | |
| 112 | + /** |
|
| 113 | + * @param BaseHtml $element |
|
| 114 | + */ |
|
| 106 | 115 | private function addElementInPart($element,$part) { |
| 107 | 116 | $this->content[$part]->addContent($element); |
| 108 | 117 | return $element; |
@@ -145,7 +154,6 @@ discard block |
||
| 145 | 154 | /** |
| 146 | 155 | * render the content of $controller::$action and set the response to the modal content |
| 147 | 156 | * @param JsUtils $js |
| 148 | - * @param string $title The panel title |
|
| 149 | 157 | * @param Controller $initialControllerInstance |
| 150 | 158 | * @param string $controllerName the controller name |
| 151 | 159 | * @param string $actionName the action name |
@@ -30,8 +30,6 @@ |
||
| 30 | 30 | /** |
| 31 | 31 | * |
| 32 | 32 | * @param string $identifier |
| 33 | - * @param int $rowCount |
|
| 34 | - * @param int $colCount |
|
| 35 | 33 | * @return HtmlRating |
| 36 | 34 | */ |
| 37 | 35 | public function htmlRating($identifier, $value, $max, $icon="") { |
@@ -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); |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * |
| 23 | - * @param string $side |
|
| 24 | 23 | * @return \Ajax\semantic\html\elements\HtmlLabel |
| 25 | 24 | */ |
| 26 | 25 | public function setPointing($value=Direction::NONE) { |
@@ -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); |
@@ -16,14 +16,29 @@ |
||
| 16 | 16 | protected $_states=[ ]; |
| 17 | 17 | protected $_baseClass; |
| 18 | 18 | |
| 19 | + /** |
|
| 20 | + * @param string $name |
|
| 21 | + */ |
|
| 19 | 22 | protected abstract function setPropertyCtrl($name, $value, $typeCtrl); |
| 20 | 23 | |
| 24 | + /** |
|
| 25 | + * @param string $name |
|
| 26 | + */ |
|
| 21 | 27 | protected abstract function addToPropertyCtrl($name, $value, $typeCtrl); |
| 22 | 28 | |
| 29 | + /** |
|
| 30 | + * @param string $name |
|
| 31 | + */ |
|
| 23 | 32 | protected abstract function addToPropertyCtrlCheck($name, $value, $typeCtrl); |
| 24 | 33 | |
| 34 | + /** |
|
| 35 | + * @param string $name |
|
| 36 | + */ |
|
| 25 | 37 | public abstract function addToProperty($name, $value, $separator=" "); |
| 26 | 38 | |
| 39 | + /** |
|
| 40 | + * @param string $name |
|
| 41 | + */ |
|
| 27 | 42 | public abstract function setProperty($name, $value); |
| 28 | 43 | |
| 29 | 44 | public function addVariation($variation) { |