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

Public Member Functions | |
| __construct ($tablename, $targetcolname) | |
| process_submission () | |
| load_current_settings () | |
| get_table () | |
| get_intro_text () | |
Protected Member Functions | |
| load_required_roles () | |
| set_allow ($fromroleid, $targetroleid) | |
| is_allowed_target ($targetroleid) | |
Protected Attributes | |
| $tablename | |
| $targetcolname | |
| $roles | |
| $allowed = null | |
Base class for managing the data in the grid of checkboxes on the role allow allow/overrides/switch editing pages (allow.php).
| __construct | ( | $ | tablename, |
| $ | targetcolname | ||
| ) |
| get_intro_text | ( | ) | [abstract] |
Snippet of text displayed above the table, telling the admin what to do.
Reimplemented in role_allow_switch_page, role_allow_override_page, and role_allow_assign_page.
| get_table | ( | ) |
| is_allowed_target | ( | $ | targetroleid | ) | [protected] |
| integer | $targetroleid | a role id. |
Reimplemented in role_allow_switch_page.
| load_required_roles | ( | ) | [protected] |
Load information about all the roles we will need information about.
Get all roles
Reimplemented in role_allow_switch_page.
Definition at line 1274 of file lib.php.


| set_allow | ( | $ | fromroleid, |
| $ | targetroleid | ||
| ) | [abstract, protected] |
Set one allow in the database.
| integer | $fromroleid | |
| integer | $targetroleid |
Reimplemented in role_allow_switch_page, role_allow_override_page, and role_allow_assign_page.
