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


Public Member Functions | |
| __construct ($name, $options) | |
| find_users ($search) | |
Data Fields | |
| const | MAX_USERS_PER_PAGE = 100 |
Protected Member Functions | |
| get_options () | |
Protected Attributes | |
| $serviceid | |
| $displayallowedusers | |
| __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.
| find_users | ( | $ | search | ) |
Find allowed or not allowed users of a service (depend of $this->displayallowedusers) object $DB
| <type> | $search |
the following SQL retrieve all users that are allowed to the serviceid
the following SQL retrieve all users that are not allowed to the serviceid
Reimplemented from user_selector_base.
Definition at line 57 of file lib.php.

| get_options | ( | ) | [protected] |
This options are automatically used by the AJAX search object $CFG
Reimplemented from user_selector_base.
| const MAX_USERS_PER_PAGE = 100 |