@@ -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 | */ |
@@ -61,7 +61,7 @@ |
||
61 | 61 | * Freeze the element so that only its value is returned |
62 | 62 | * |
63 | 63 | * @access public |
64 | - * @return void |
|
64 | + * @return boolean |
|
65 | 65 | */ |
66 | 66 | function freeze() |
67 | 67 | { |
@@ -161,7 +161,7 @@ |
||
161 | 161 | * @param object &$caller calling object |
162 | 162 | * @since 1.0 |
163 | 163 | * @access public |
164 | - * @return void |
|
164 | + * @return boolean |
|
165 | 165 | * @throws |
166 | 166 | */ |
167 | 167 | function onQuickFormEvent($event, $arg, &$caller) |
@@ -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 | { |
@@ -211,6 +211,9 @@ |
||
211 | 211 | } // end func renderHeader |
212 | 212 | |
213 | 213 | |
214 | + /** |
|
215 | + * @param boolean $required |
|
216 | + */ |
|
214 | 217 | function renderElement(&$element, $required, $error) |
215 | 218 | { |
216 | 219 | $elAry = $this->_elementToArray($element, $required, $error); |
@@ -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) |