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


Public Member Functions | |
| __construct ($context, $contextname, $allowoverrides, $allowsafeoverrides, $overridableroles) | |
Protected Member Functions | |
| add_header_cells () | |
| num_extra_columns () | |
| add_row_cells ($capability) | |
| get_risks ($capability) | |
Protected Attributes | |
| $contextname | |
| $allowoverrides | |
| $allowsafeoverrides | |
| $overridableroles | |
| $roles | |
| $icons = array() | |
Subclass of capability_table_base for use on the Permissions page.
| __construct | ( | $ | context, |
| $ | contextname, | ||
| $ | allowoverrides, | ||
| $ | allowsafeoverrides, | ||
| $ | overridableroles | ||
| ) |
| add_header_cells | ( | ) | [protected] |
For subclasses to override, output header cells, after the initial capability one.
Reimplemented from capability_table_base.
| add_row_cells | ( | $ | capability | ) | [protected] |
For subclasses to override. Output the data cells for this capability. The capability name cell will already have been output.
You can rely on get_row_classes always being called before add_row_cells.
| object | $capability | the capability this row relates to. |
Reimplemented from capability_table_base.
Definition at line 285 of file lib.php.

| get_risks | ( | $ | capability | ) | [protected] |
| num_extra_columns | ( | ) | [protected] |
For subclasses to override, return the number of cells that add_header_cells/add_row_cells output.
Reimplemented from capability_table_base.