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

Public Member Functions | |
| __construct (course_enrolment_manager $manager, enrol_plugin $plugin=null) | |
| get_form ($defaultaction=null, $defaultcustomdata=null) | |
| get_title () | |
| get_identifier () | |
| process (course_enrolment_manager $manager, array $users, stdClass $properties) | |
Protected Attributes | |
| $manager | |
| $plugin | |
This class is used to manage a bulk operations for enrolment plugins.
Definition at line 1212 of file locallib.php.
| __construct | ( | course_enrolment_manager $ | manager, |
| enrol_plugin $ | plugin = null |
||
| ) |
Contructor
| course_enrolment_manager | $manager | |
| stdClass | $plugin |
Definition at line 1231 of file locallib.php.
| get_form | ( | $ | defaultaction = null, |
| $ | defaultcustomdata = null |
||
| ) |
Returns a moodleform used for this operation, or false if no form is required and the action should be immediatly processed.
| moodle_url | string | $defaultaction | |
| mixed | $defaultcustomdata |
Reimplemented in enrol_manual_editselectedusers_operation.
Definition at line 1244 of file locallib.php.
| get_identifier | ( | ) | [abstract] |
Returns the identifier for this bulk operation. This should be the same identifier used by the plugins function when returning all of its bulk operations.
Reimplemented in enrol_manual_deleteselectedusers_operation, and enrol_manual_editselectedusers_operation.
| get_title | ( | ) | [abstract] |
Returns the title to use for this bulk operation
Reimplemented in enrol_manual_deleteselectedusers_operation, and enrol_manual_editselectedusers_operation.
| process | ( | course_enrolment_manager $ | manager, |
| array $ | users, | ||
| stdClass $ | properties | ||
| ) | [abstract] |
Processes the bulk operation on the given users
| course_enrolment_manager | $manager | |
| array | $users | |
| stdClass | $properties |
Reimplemented in enrol_manual_deleteselectedusers_operation, and enrol_manual_editselectedusers_operation.
$manager [protected] |
Definition at line 1218 of file locallib.php.
$plugin [protected] |
Definition at line 1224 of file locallib.php.