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


Public Member Functions | |
| __construct ($name, $options) | |
| find_users ($search) | |
Protected Member Functions | |
| get_options () | |
Protected Attributes | |
| $hostid | |
| $remotecourseid | |
Selector of our users who could be enrolled into a remote course via their enrol_mnet
Definition at line 528 of file locallib.php.
| __construct | ( | $ | name, |
| $ | options | ||
| ) |
Constructor. Each subclass must have a constructor with this signature.
| string | $name | the control name/id for use in the HTML. |
| array | $options | other options needed to construct this selector. You must be able to clone a userselector by doing new get_class($us)($us->get_name(), $us->get_options()); |
Reimplemented from user_selector_base.
Definition at line 534 of file locallib.php.
| find_users | ( | $ | search | ) |
Find our users who could be enrolled into the remote course
Our users must have 'moodle/site:mnetlogintoremote' capability assigned. Remote users, guests, deleted and not confirmed users are not returned.
| string | $search |
Reimplemented from user_selector_base.
Definition at line 549 of file locallib.php.

| get_options | ( | ) | [protected] |
Note: this function must be implemented if you use the search ajax field (e.g. set $options['file'] = '/admin/filecontainingyourclass.php';)
Reimplemented from user_selector_base.
Definition at line 603 of file locallib.php.
$hostid [protected] |
Definition at line 530 of file locallib.php.
$remotecourseid [protected] |
Definition at line 532 of file locallib.php.