@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | } |
118 | 118 | |
119 | 119 | /** |
120 | - * @param mixed $class |
|
120 | + * @param string|null $class |
|
121 | 121 | */ |
122 | 122 | public function setClass($class) |
123 | 123 | { |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | } |
126 | 126 | |
127 | 127 | /** |
128 | - * @return mixed |
|
128 | + * @return string|null |
|
129 | 129 | */ |
130 | 130 | public function getIcon() |
131 | 131 | { |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | } |
134 | 134 | |
135 | 135 | /** |
136 | - * @param mixed $icon |
|
136 | + * @param string $icon |
|
137 | 137 | */ |
138 | 138 | public function setIcon($icon) |
139 | 139 | { |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
144 | - * @return mixed |
|
144 | + * @return string|null |
|
145 | 145 | */ |
146 | 146 | public function getStyle() |
147 | 147 | { |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | } |
150 | 150 | |
151 | 151 | /** |
152 | - * @param mixed $style |
|
152 | + * @param string $style |
|
153 | 153 | */ |
154 | 154 | public function setStyle($style) |
155 | 155 | { |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | $this->columnsSize = $columnsSize; |
181 | 181 | } |
182 | 182 | /** |
183 | - * @param mixed $size |
|
183 | + * @param string $size |
|
184 | 184 | */ |
185 | 185 | public function setSize($size) |
186 | 186 | { |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | * Freeze the element so that only its value is returned |
208 | 208 | * |
209 | 209 | * @access public |
210 | - * @return void |
|
210 | + * @return boolean |
|
211 | 211 | */ |
212 | 212 | public function freeze() |
213 | 213 | { |
@@ -191,6 +191,7 @@ |
||
191 | 191 | * @access public |
192 | 192 | * @param HTML_QuickForm_Page The page that failed to handle the action |
193 | 193 | * @param string Name of the action |
194 | + * @param HTML_QuickForm_Page $page |
|
194 | 195 | * @throws PEAR_Error |
195 | 196 | */ |
196 | 197 | function handle(&$page, $actionName) |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | * Sets display text for the element |
357 | 357 | * |
358 | 358 | * @param string $label Display text for the element |
359 | - * @param string $label_for Optionally add a "for" attribute |
|
359 | + * @param string $labelFor Optionally add a "for" attribute |
|
360 | 360 | * @since 1.3 |
361 | 361 | * @access public |
362 | 362 | * @return void |
@@ -435,7 +435,7 @@ discard block |
||
435 | 435 | * @param object &$caller calling object |
436 | 436 | * @since 1.0 |
437 | 437 | * @access public |
438 | - * @return void |
|
438 | + * @return boolean |
|
439 | 439 | */ |
440 | 440 | public function onQuickFormEvent($event, $arg, &$caller) |
441 | 441 | { |
@@ -86,7 +86,7 @@ |
||
86 | 86 | * |
87 | 87 | * @since 1.0 |
88 | 88 | * @access public |
89 | - * @return int |
|
89 | + * @return string|null |
|
90 | 90 | */ |
91 | 91 | function getSize() |
92 | 92 | { |
@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | * @param object &$caller calling object |
346 | 346 | * @since 1.0 |
347 | 347 | * @access public |
348 | - * @return void |
|
348 | + * @return boolean |
|
349 | 349 | */ |
350 | 350 | public function onQuickFormEvent($event, $arg, &$caller) |
351 | 351 | { |
@@ -384,6 +384,7 @@ discard block |
||
384 | 384 | * @param HTML_QuickForm_Renderer renderer object |
385 | 385 | * @param bool Whether a group is required |
386 | 386 | * @param string An error message associated with a group |
387 | + * @param HTML_QuickForm_Renderer_Default $renderer |
|
387 | 388 | * @access public |
388 | 389 | * @return void |
389 | 390 | */ |
@@ -52,6 +52,10 @@ discard block |
||
52 | 52 | * @param string Text to display near the radio |
53 | 53 | * @param string Input field value |
54 | 54 | * @param mixed Either a typical HTML attribute string or an associative array |
55 | + * @param string $elementName |
|
56 | + * @param string $elementLabel |
|
57 | + * @param string $text |
|
58 | + * @param string $value |
|
55 | 59 | * @since 1.0 |
56 | 60 | * @access public |
57 | 61 | * @return void |
@@ -189,7 +193,7 @@ discard block |
||
189 | 193 | * @param object &$caller calling object |
190 | 194 | * @since 1.0 |
191 | 195 | * @access public |
192 | - * @return void |
|
196 | + * @return boolean |
|
193 | 197 | */ |
194 | 198 | public function onQuickFormEvent($event, $arg, &$caller) |
195 | 199 | { |
@@ -331,6 +331,7 @@ |
||
331 | 331 | * So we use the smarty eval plugin function to do this. |
332 | 332 | * |
333 | 333 | * @param string The template source |
334 | + * @param string $tplSource |
|
334 | 335 | * @access private |
335 | 336 | * @return void |
336 | 337 | */ |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | private $customElementTemplate; |
41 | 41 | |
42 | 42 | /** |
43 | - * @return mixed |
|
43 | + * @return string |
|
44 | 44 | */ |
45 | 45 | public function getCustomElementTemplate() |
46 | 46 | { |
@@ -457,6 +457,7 @@ discard block |
||
457 | 457 | * |
458 | 458 | * @param string The HTML surrounding an element |
459 | 459 | * @param string (optional) Name of the element to apply template for |
460 | + * @param string $html |
|
460 | 461 | * @access public |
461 | 462 | * @return void |
462 | 463 | */ |
@@ -504,6 +505,7 @@ discard block |
||
504 | 505 | * Sets header template |
505 | 506 | * |
506 | 507 | * @param string The HTML surrounding the header |
508 | + * @param string $html |
|
507 | 509 | * @access public |
508 | 510 | * @return void |
509 | 511 | */ |
@@ -516,6 +518,7 @@ discard block |
||
516 | 518 | * Sets form template |
517 | 519 | * |
518 | 520 | * @param string The HTML surrounding the form tags |
521 | + * @param string $html |
|
519 | 522 | * @access public |
520 | 523 | * @return void |
521 | 524 | */ |
@@ -527,6 +530,7 @@ discard block |
||
527 | 530 | * Sets the note indicating required fields template |
528 | 531 | * |
529 | 532 | * @param string The HTML surrounding the required note |
533 | + * @param string $html |
|
530 | 534 | * @access public |
531 | 535 | * @return void |
532 | 536 | */ |
@@ -480,6 +480,7 @@ |
||
480 | 480 | * the block contents on get() a bit differently |
481 | 481 | * |
482 | 482 | * @param string Block name |
483 | + * @param string $block |
|
483 | 484 | * @return string Block contents |
484 | 485 | */ |
485 | 486 | function _getTplBlock($block) |