@@ -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); |
@@ -785,7 +785,6 @@ |
||
785 | 785 | * lock = the user can no longer use this account |
786 | 786 | * @author Patrick Cool <[email protected]>, Ghent University |
787 | 787 | * @param int $active the current state of the account |
788 | - * @param int $user_id The user id |
|
789 | 788 | * @param string $url_params |
790 | 789 | * @return string Some HTML-code with the lock/unlock button |
791 | 790 | */ |
@@ -735,7 +735,6 @@ |
||
735 | 735 | * lock = the user can no longer use this account |
736 | 736 | * @author Patrick Cool <[email protected]>, Ghent University |
737 | 737 | * @param int $active the current state of the account |
738 | - * @param int $user_id The user id |
|
739 | 738 | * @param string $urlParams |
740 | 739 | * |
741 | 740 | * @return string Some HTML-code with the lock/unlock button |
@@ -17,6 +17,9 @@ |
||
17 | 17 | define('WS_ERROR_INVALID_INPUT', 3); |
18 | 18 | define('WS_ERROR_SETTING', 4); |
19 | 19 | |
20 | +/** |
|
21 | + * @param integer $code |
|
22 | + */ |
|
20 | 23 | function return_error($code) { |
21 | 24 | $fault = null; |
22 | 25 | switch ($code) { |
@@ -1,9 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | |
4 | -use Chamilo\CoreBundle\Entity\ExtraField as EntityExtraField; |
|
5 | -use Chamilo\UserBundle\Entity\User; |
|
6 | - |
|
7 | 4 | /** |
8 | 5 | * @package chamilo.webservices |
9 | 6 | */ |