Completed
Push — master ( 5ec30c...b92773 )
by Jean-Christophe
03:32
created
Ajax/semantic/html/elements/HtmlStep.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Ajax/semantic/html/base/traits/BaseTrait.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -16,14 +16,29 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Ajax/semantic/html/base/traits/MenuItemTrait.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 	/**
26 26
 	 * @param string $placeholder
27 27
 	 * @param string $icon
28
-	 * @return \Ajax\semantic\html\content\HtmlDropdownItem|\Ajax\semantic\html\content\HtmlMenuItem
28
+	 * @return MenuItemTrait
29 29
 	 */
30 30
 	public function asSearchInput($placeholder=NULL,$icon=NULL){
31 31
 		$this->setClass("ui icon search input");
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 	}
40 40
 
41 41
 	/**
42
-	 * @return \Ajax\semantic\html\content\HtmlDropdownItem|\Ajax\semantic\html\content\HtmlMenuItem
42
+	 * @return MenuItemTrait
43 43
 	 */
44 44
 	public function asDivider(){
45 45
 		$this->content=NULL;
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 	/**
52 52
 	 * @param string $caption
53 53
 	 * @param string $icon
54
-	 * @return \Ajax\semantic\html\content\HtmlDropdownItem|\Ajax\semantic\html\content\HtmlMenuItem
54
+	 * @return MenuItemTrait
55 55
 	 */
56 56
 	public function asHeader($caption=NULL,$icon=NULL){
57 57
 		$this->setClass("header");
Please login to merge, or discard this patch.
Ajax/semantic/html/content/InternalPopup.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -12,6 +12,10 @@  discard block
 block discarded – undo
12 12
 	protected $variation;
13 13
 	protected $params;
14 14
 	protected $semElement;
15
+
16
+	/**
17
+	 * @param HtmlSemDoubleElement $semElement
18
+	 */
15 19
 	public function __construct($semElement,$title="",$content="",$variation=NULL,$params=array()){
16 20
 		$this->semElement=$semElement;
17 21
 		$this->title=$title;
@@ -19,6 +23,9 @@  discard block
 block discarded – undo
19 23
 		$this->setAttributes($variation,$params);
20 24
 	}
21 25
 
26
+	/**
27
+	 * @param string $html
28
+	 */
22 29
 	public function setHtml($html) {
23 30
 		$this->html= $html;
24 31
 		return $this;
Please login to merge, or discard this patch.
Ajax/semantic/html/modules/HtmlDropdown.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@  discard block
 block discarded – undo
22 22
 	protected $input;
23 23
 	protected $value;
24 24
 
25
+	/**
26
+	 * @param string $identifier
27
+	 */
25 28
 	public function __construct($identifier, $value="", $items=array()) {
26 29
 		parent::__construct($identifier, "div");
27 30
 		$this->_template=include dirname(__FILE__).'/../templates/tplDropdown.php';
@@ -49,7 +52,7 @@  discard block
 block discarded – undo
49 52
 	/**
50 53
 	 * Insert an item at a position
51 54
 	 * @param mixed $item
52
-	 * @param number $position
55
+	 * @param integer $position
53 56
 	 * @return \Ajax\semantic\html\content\HtmlDropdownItem|unknown
54 57
 	 */
55 58
 	public function insertItem($item,$position=0){
@@ -240,6 +243,9 @@  discard block
 block discarded – undo
240 243
 		return $this->addToPropertyCtrl("class", $value." pointing",Direction::getConstantValues("pointing"));
241 244
 	}
242 245
 
246
+	/**
247
+	 * @param string $value
248
+	 */
243 249
 	public function setValue($value){
244 250
 		$this->value=$value;
245 251
 		return $this;
@@ -274,6 +280,9 @@  discard block
 block discarded – undo
274 280
 		return $this->addToPropertyCtrl("class", "compact", array("compact"));
275 281
 	}
276 282
 
283
+	/**
284
+	 * @param string $action
285
+	 */
277 286
 	public function setAction($action){
278 287
 		$this->_params["action"]=$action;
279 288
 	}
Please login to merge, or discard this patch.
Ajax/semantic/html/views/HtmlCard.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -27,6 +27,9 @@  discard block
 block discarded – undo
27 27
 		return $result;
28 28
 	}
29 29
 
30
+	/**
31
+	 * @param string $key
32
+	 */
30 33
 	private function addElementInContent($key, $element) {
31 34
 		if (\array_key_exists($key, $this->content) === false) {
32 35
 			$this->content[$key]=array ();
@@ -35,6 +38,9 @@  discard block
 block discarded – undo
35 38
 		return $element;
36 39
 	}
37 40
 
41
+	/**
42
+	 * @param string $part
43
+	 */
38 44
 	private function getPart($part, $index=NULL) {
39 45
 		if (\array_key_exists($part, $this->content)) {
40 46
 			if (isset($index))
@@ -59,6 +65,10 @@  discard block
 block discarded – undo
59 65
 		return $this->addElementInContent("content", $image);
60 66
 	}
61 67
 
68
+	/**
69
+	 * @param HtmlImage $visibleContent
70
+	 * @param HtmlImage $hiddenContent
71
+	 */
62 72
 	public function addReveal($visibleContent, $hiddenContent=NULL, $type=RevealType::FADE, $attributeType=NULL) {
63 73
 		$reveal=$visibleContent;
64 74
 		if (!$visibleContent instanceof HtmlReveal) {
Please login to merge, or discard this patch.
Ajax/semantic/components/Form.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Ajax/semantic/html/collections/form/traits/FieldTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@
 block discarded – undo
6 6
 
7 7
 trait CheckboxTrait {
8 8
 
9
+	/**
10
+	 * @param string $name
11
+	 */
9 12
 	public abstract function addToPropertyCtrl($name, $value, $typeCtrl);
10 13
 
11 14
 	public function setType($checkboxType) {
Please login to merge, or discard this patch.
Ajax/semantic/html/content/table/HtmlTableContent.php 1 patch
Doc Comments   +13 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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++) {
Please login to merge, or discard this patch.