@@ -97,6 +97,9 @@ |
||
97 | 97 | return $section; |
98 | 98 | } |
99 | 99 | |
100 | + /** |
|
101 | + * @param integer $value |
|
102 | + */ |
|
100 | 103 | function setSelectedTab($value) |
101 | 104 | { |
102 | 105 | $this->selectedtab = $value; |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | * @param int $mode, 1-am, 2-pm |
192 | 192 | * @param int $hour hour of the day |
193 | 193 | * |
194 | - * @return hour in 24 hour mode |
|
194 | + * @return integer in 24 hour mode |
|
195 | 195 | */ |
196 | 196 | function xhelpChangeHour($mode, $hour) |
197 | 197 | { |
@@ -207,6 +207,9 @@ discard block |
||
207 | 207 | return $hour; |
208 | 208 | } |
209 | 209 | |
210 | +/** |
|
211 | + * @param string $name |
|
212 | + */ |
|
210 | 213 | function xhelpDrawHourSelect($name, $lSelect="-1") |
211 | 214 | { |
212 | 215 | echo "<select name='".$name."'>"; |
@@ -221,6 +224,9 @@ discard block |
||
221 | 224 | echo "</select>"; |
222 | 225 | } |
223 | 226 | |
227 | +/** |
|
228 | + * @param string $name |
|
229 | + */ |
|
224 | 230 | function xhelpDrawMinuteSelect($name) |
225 | 231 | { |
226 | 232 | $lSum = 0; |
@@ -237,6 +243,9 @@ discard block |
||
237 | 243 | echo "</select>"; |
238 | 244 | } |
239 | 245 | |
246 | +/** |
|
247 | + * @param string $name |
|
248 | + */ |
|
240 | 249 | function xhelpDrawModeSelect($name, $sSelect='AM') |
241 | 250 | { |
242 | 251 | echo "<select name='".$name."'>"; |
@@ -712,6 +712,9 @@ |
||
712 | 712 | } |
713 | 713 | } |
714 | 714 | |
715 | +/** |
|
716 | + * @param integer $mime_value |
|
717 | + */ |
|
715 | 718 | function _changeMimeValue($mime_value) |
716 | 719 | { |
717 | 720 | if($mime_value == 1){ |
@@ -373,6 +373,10 @@ |
||
373 | 373 | } |
374 | 374 | } |
375 | 375 | |
376 | +/** |
|
377 | + * @param integer $xhelp_id |
|
378 | + * @param string $return_op |
|
379 | + */ |
|
376 | 380 | function deleteRole($xhelp_id, $return_op) |
377 | 381 | { |
378 | 382 |
@@ -29,6 +29,10 @@ discard block |
||
29 | 29 | break; |
30 | 30 | } |
31 | 31 | |
32 | +/** |
|
33 | + * @param string $oldName |
|
34 | + * @param string $newName |
|
35 | + */ |
|
32 | 36 | function _renameTable($oldName, $newName) |
33 | 37 | { |
34 | 38 | global $xoopsDB; |
@@ -39,6 +43,11 @@ discard block |
||
39 | 43 | return $qry; |
40 | 44 | } |
41 | 45 | |
46 | +/** |
|
47 | + * @param string $query |
|
48 | + * @param string $goodmsg |
|
49 | + * @param string $badmsg |
|
50 | + */ |
|
42 | 51 | function _runQuery($query, $goodmsg, $badmsg) |
43 | 52 | { |
44 | 53 | global $xoopsDB; |
@@ -69,7 +69,7 @@ |
||
69 | 69 | /** |
70 | 70 | * Call Backback function for 'delete_ticket' |
71 | 71 | * @param xhelpTicket $ticket Ticket being deleted |
72 | - * @return bool True on success, false on error |
|
72 | + * @return boolean|null True on success, false on error |
|
73 | 73 | * @access public |
74 | 74 | */ |
75 | 75 | function delete_ticket($ticket) |
@@ -76,7 +76,7 @@ |
||
76 | 76 | |
77 | 77 | /** |
78 | 78 | * Only have 1 instance of class used |
79 | - * @return object {@link xhelp_eventService} |
|
79 | + * @return xhelpEventService {@link xhelp_eventService} |
|
80 | 80 | * @access public |
81 | 81 | */ |
82 | 82 | function &singleton() |
@@ -180,7 +180,7 @@ |
||
180 | 180 | /** |
181 | 181 | * Create the url going to the faq article |
182 | 182 | * |
183 | - * @param $faq xhelpFaq object |
|
183 | + * @param xhelpFaq $faq xhelpFaq object |
|
184 | 184 | * @return string |
185 | 185 | * @access private |
186 | 186 | */ |
@@ -254,7 +254,6 @@ |
||
254 | 254 | |
255 | 255 | /** |
256 | 256 | * Callback function for the 'edit_response' event |
257 | - * @param array $args Array of arguments passed to EventService |
|
258 | 257 | * @return bool True on success, false on error |
259 | 258 | * @access public |
260 | 259 | */ |