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


Public Member Functions | |
| __construct ($context, $user, $contextname) | |
Protected Member Functions | |
| add_header_cells () | |
| num_extra_columns () | |
| get_row_classes ($capability) | |
| add_row_cells ($capability) | |
Protected Attributes | |
| $user | |
| $fullname | |
| $contextname | |
| $stryes | |
| $strno | |
Subclass of capability_table_base for use on the Check permissions page.
We have one additional column, Allowed, which contains yes/no.
| __construct | ( | $ | context, |
| $ | user, | ||
| $ | contextname | ||
| ) |
| 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.
| get_row_classes | ( | $ | capability | ) | [protected] |
For subclasses to override. A change to reaturn class names that are added to the class="" attribute on the <tr> for this capability.
| object | $capability | the capability this row relates to. |
Reimplemented from capability_table_base.
Definition at line 217 of file lib.php.

| 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.