Subclass of role_allow_role_page for the Allow assigns tab.
More...
|
| get_intro_text () |
| Snippet of text displayed above the table, telling the admin what to do.
|
|
| get_table () |
| Returns structure that can be passed to print_table, containing one cell for each checkbox.
|
|
| load_current_settings () |
| Load the current allows from the database.
|
|
| process_submission () |
| Update the data with the new settings submitted by the user.
|
|
|
| get_cell_tooltip ($fromrole, $targetrole) |
|
| get_eventclass () |
| Returns the allow class respective event class name.
|
|
| is_allowed_target ($targetroleid) |
| Is target allowed?
|
|
| load_required_roles () |
| Load information about all the roles we will need information about.
|
|
| set_allow ($fromroleid, $targetroleid) |
| Set one allow in the database.
|
|
|
| $allowed = null |
|
| $roles |
|
| $tablename |
|
| $targetcolname |
|
Subclass of role_allow_role_page for the Allow assigns tab.
◆ get_eventclass()
core_role_allow_assign_page::get_eventclass |
( |
| ) |
|
|
protected |
◆ get_intro_text()
core_role_allow_assign_page::get_intro_text |
( |
| ) |
|
Snippet of text displayed above the table, telling the admin what to do.
- Return values
-
Reimplemented from core_role_allow_role_page.
◆ get_table()
core_role_allow_role_page::get_table |
( |
| ) |
|
|
inherited |
Returns structure that can be passed to print_table, containing one cell for each checkbox.
- Return values
-
◆ is_allowed_target()
core_role_allow_role_page::is_allowed_target |
( |
| $targetroleid | ) |
|
|
protectedinherited |
Is target allowed?
- Parameters
-
integer | $targetroleid | a role id. |
- Return values
-
boolean | whether the user should be allowed to select this role as a target role. |
Reimplemented in core_role_allow_switch_page.
◆ load_required_roles()
core_role_allow_role_page::load_required_roles |
( |
| ) |
|
|
protectedinherited |
◆ set_allow()
core_role_allow_assign_page::set_allow |
( |
| $fromroleid, |
|
|
| $targetroleid ) |
|
protected |
The documentation for this class was generated from the following file: