@@ -16,9 +16,9 @@ abstract public function _add_event($element, $js, $event, $preventDefault=false
16
16
* show or hide with effect
17
17
*
18
18
* @param string $action
19
- * @param string - element
20
- * @param string - One of 'slow', 'normal', 'fast', or time in milliseconds
21
- * @param string - Javascript callback function
19
+ * @param string $element element
20
+ * @param string $speed One of 'slow', 'normal', 'fast', or time in milliseconds
21
+ * @param string $callback Javascript callback function
22
22
* @param boolean $immediatly defers the execution if set to false
23
23
* @return string
24
24
*/
@@ -162,7 +162,7 @@ public function html($element='this', $value='', $immediatly=false) {
162
162
* Outputs a javascript library animate event
163
163
*
164
164
* @param string $element element
165
- * @param array $params
165
+ * @param array|string $params
166
166
* @param string $speed One of 'slow', 'normal', 'fast', or time in milliseconds
167
167
* @param string $extra
168
168
* @param boolean $immediatly defers the execution if set to false
@@ -220,9 +220,9 @@ public function prepend($to, $element, $immediatly=false) {
220
220
/**
221
221
* Execute a javascript library hide action
222
222
*
223
- * @param string - element
224
- * @param string - One of 'slow', 'normal', 'fast', or time in milliseconds
225
- * @param string - Javascript callback function
223
+ * @param string $element element
224
+ * @param string $speed One of 'slow', 'normal', 'fast', or time in milliseconds
225
+ * @param string $callback Javascript callback function
226
226
* @param boolean $immediatly defers the execution if set to false
227
227
* @return string
228
228
*/
@@ -233,9 +233,9 @@ public function fadeIn($element='this', $speed='', $callback='', $immediatly=fal
233
233
/**
234
234
* Execute a javascript library hide action
235
235
*
236
- * @param string - element
237
- * @param string - One of 'slow', 'normal', 'fast', or time in milliseconds
238
- * @param string - Javascript callback function
236
+ * @param string $element element
237
+ * @param string $speed One of 'slow', 'normal', 'fast', or time in milliseconds
238
+ * @param string $callback Javascript callback function
239
239
* @param boolean $immediatly defers the execution if set to false
240
240
* @return string
241
241
*/
@@ -246,9 +246,9 @@ public function fadeOut($element='this', $speed='', $callback='', $immediatly=fa
246
246
/**
247
247
* Execute a javascript library slideUp action
248
248
*
249
- * @param string - element
250
- * @param string - One of 'slow', 'normal', 'fast', or time in milliseconds
251
- * @param string - Javascript callback function
249
+ * @param string $element element
250
+ * @param string $speed One of 'slow', 'normal', 'fast', or time in milliseconds
251
+ * @param string $callback Javascript callback function
252
252
* @param boolean $immediatly defers the execution if set to false
253
253
* @return string
254
254
*/
@@ -259,21 +259,21 @@ public function slideUp($element='this', $speed='', $callback='', $immediatly=fa
259
259
/**
260
260
* Execute a javascript library removeClass action
261
261
*
262
- * @param string - element
263
- * @param string - Class to add
262
+ * @param string $element element
263
+ * @param string $class Class to add
264
264
* @param boolean $immediatly defers the execution if set to false
265
265
* @return string
266
266
*/
267
267
public function removeClass ($ element ='this ' , $ class ='' , $ immediatly =false ) {
268
- return $ this ->_genericCall ('removeClass ' ,$ element , $ class , $ immediatly );
268
+ return $ this ->_genericCallValue ('removeClass ' ,$ element , $ class , $ immediatly );
269
269
}
270
270
271
271
/**
272
272
* Execute a javascript library slideDown action
273
273
*
274
- * @param string - element
275
- * @param string - One of 'slow', 'normal', 'fast', or time in milliseconds
276
- * @param string - Javascript callback function
274
+ * @param string $element element
275
+ * @param string $speed One of 'slow', 'normal', 'fast', or time in milliseconds
276
+ * @param string $callback Javascript callback function
277
277
* @param boolean $immediatly defers the execution if set to false
278
278
* @return string
279
279
*/
@@ -284,9 +284,9 @@ public function slideDown($element='this', $speed='', $callback='', $immediatly=
284
284
/**
285
285
* Execute a javascript library slideToggle action
286
286
*
287
- * @param string - element
288
- * @param string - One of 'slow', 'normal', 'fast', or time in milliseconds
289
- * @param string - Javascript callback function
287
+ * @param string $element element
288
+ * @param string $speed One of 'slow', 'normal', 'fast', or time in milliseconds
289
+ * @param string $callback Javascript callback function
290
290
* @param boolean $immediatly defers the execution if set to false
291
291
* @return string
292
292
*/
@@ -297,9 +297,9 @@ public function slideToggle($element='this', $speed='', $callback='', $immediatl
297
297
/**
298
298
* Execute a javascript library hide action
299
299
*
300
- * @param string - element
301
- * @param string - One of 'slow', 'normal', 'fast', or time in milliseconds
302
- * @param string - Javascript callback function
300
+ * @param string $element element
301
+ * @param string $speed One of 'slow', 'normal', 'fast', or time in milliseconds
302
+ * @param string $callback Javascript callback function
303
303
* @param boolean $immediatly defers the execution if set to false
304
304
* @return string
305
305
*/
@@ -310,9 +310,9 @@ public function hide($element='this', $speed='', $callback='', $immediatly=false
310
310
/**
311
311
* Execute a javascript library toggle action
312
312
*
313
- * @param string - element
314
- * @param string - One of 'slow', 'normal', 'fast', or time in milliseconds
315
- * @param string - Javascript callback function
313
+ * @param string $element element
314
+ * @param string $speed One of 'slow', 'normal', 'fast', or time in milliseconds
315
+ * @param string $callback Javascript callback function
316
316
* @param boolean $immediatly defers the execution if set to false
317
317
* @return string
318
318
*/
@@ -323,7 +323,8 @@ public function toggle($element='this', $speed='', $callback='', $immediatly=fal
323
323
/**
324
324
* Execute a javascript library toggle class action
325
325
*
326
- * @param string - element
326
+ * @param string $element element
327
+ * @param string $class
327
328
* @param boolean $immediatly defers the execution if set to false
328
329
* @return string
329
330
*/
@@ -349,9 +350,9 @@ public function trigger($element='this', $event='click', $immediatly=false) {
349
350
/**
350
351
* Execute a javascript library show action
351
352
*
352
- * @param string - element
353
- * @param string - One of 'slow', 'normal', 'fast', or time in milliseconds
354
- * @param string - Javascript callback function
353
+ * @param string $element element
354
+ * @param string $speed One of 'slow', 'normal', 'fast', or time in milliseconds
355
+ * @param string $callback Javascript callback function
355
356
* @param boolean $immediatly defers the execution if set to false
356
357
* @return string
357
358
*/
0 commit comments