Moodle  2.2.1
http://www.collinsharper.com
enrol_manual_editselectedusers_operation Class Reference
Inheritance diagram for enrol_manual_editselectedusers_operation:
Collaboration diagram for enrol_manual_editselectedusers_operation:

Public Member Functions

 get_title ()
 get_identifier ()
 process (course_enrolment_manager $manager, array $users, stdClass $properties)
 get_form ($defaultaction=null, $defaultcustomdata=null)

Detailed Description

A bulk operation for the manual enrolment plugin to edit selected users.

Definition at line 165 of file locallib.php.


Member Function Documentation

get_form ( defaultaction = null,
defaultcustomdata = null 
)

Returns a enrol_bulk_enrolment_operation extension form to be used in collecting required information for this operation to be processed.

Parameters:
string | moodle_url | null$defaultaction
mixed$defaultcustomdata
Returns:
enrol_manual_editselectedusers_form

Reimplemented from enrol_bulk_enrolment_operation.

Definition at line 278 of file locallib.php.

Returns the identifier for this bulk operation. This is the key used when the plugin returns an array containing all of the bulk operations it supports.

Reimplemented from enrol_bulk_enrolment_operation.

Definition at line 180 of file locallib.php.

get_title ( )

Returns the title to display for this bulk operation.

Returns:
string

Reimplemented from enrol_bulk_enrolment_operation.

Definition at line 172 of file locallib.php.

process ( course_enrolment_manager manager,
array users,
stdClass $  properties 
)

Processes the bulk operation request for the given userids with the provided properties.

moodle_database $DB

Parameters:
course_enrolment_manager$manager
array$userids
stdClass$propertiesThe data returned by the form.

Reimplemented from enrol_bulk_enrolment_operation.

Definition at line 192 of file locallib.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations