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


Public Member Functions | |
| __construct ($event, $url, $name='popup', $params=array()) | |
| get_js_options () | |
Data Fields | |
| $jsfunction = 'openpopup' | |
| $params | |
Component action for a popup window.
Definition at line 103 of file outputactions.php.
| __construct | ( | $ | event, |
| $ | url, | ||
| $ | name = 'popup', |
||
| $ | params = array() |
||
| ) |
Constructor
| string | $event | DOM event |
| moodle_url | string | $url | A moodle_url object, required if no jsfunction is given |
| string | $method | 'post' or 'get' |
| array | $params | An array of popup parameters |
Definition at line 133 of file outputactions.php.

| get_js_options | ( | ) |
Returns a string of concatenated option->value pairs used by JS to call the popup window, based on this object's variables
Definition at line 168 of file outputactions.php.

| $jsfunction = 'openpopup' |
Reimplemented from component_action.
Definition at line 105 of file outputactions.php.
| $params |
array( 'height' => 400, 'width' => 500, 'top' => 0, 'left' => 0, 'menubar' => false, 'location' => false, 'scrollbars' => true, 'resizable' => true, 'toolbar' => true, 'status' => true, 'directories' => false, 'fullscreen' => false, 'dependent' => true)
Definition at line 110 of file outputactions.php.