|
Moodle
2.2.1
http://www.collinsharper.com
|

Public Member Functions | |
| __construct ($event, $jsfunction, $jsfunctionargs=array()) | |
Data Fields | |
| $event | |
| $jsfunction = false | |
| $jsfunctionargs = array() | |
Helper class used by other components that involve an action on the page (URL or JS).
Definition at line 39 of file outputactions.php.
| __construct | ( | $ | event, |
| $ | jsfunction, | ||
| $ | jsfunctionargs = array() |
||
| ) |
Constructor
| string | $event | DOM event |
| moodle_url | $url | A moodle_url object, required if no jsfunction is given |
| string | $method | 'post' or 'get' |
| string | $jsfunction | An optional JS function. Required if jsfunctionargs is given |
| array | $jsfunctionargs | An array of arguments to pass to the jsfunction |
Definition at line 69 of file outputactions.php.
Definition at line 45 of file outputactions.php.
| $jsfunction = false |
Reimplemented in popup_action.
Definition at line 53 of file outputactions.php.
| $jsfunctionargs = array() |
Definition at line 58 of file outputactions.php.