Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
|
Namespaces | |
namespace | tool_capability\event |
| |
namespace | tool_capability\privacy |
| |
Classes | |
class | tool_capability\event\report_viewed |
The tool_capability report viewed event class. More... | |
class | tool_capability\privacy\provider |
Privacy Subsystem for tool_capability implementing null_provider. More... | |
class | tool_capability_renderer |
The primary renderer for the capability tool. More... | |
class | tool_capability_settings_form |
Class tool_capability_settings_form. More... | |
Functions | |
tool_capability_calculate_role_data ($capability, array $roles) | |
Calculates capability data organised by context for the given roles. | |
Variables | |
$plugin = 2022111800 | |
$plugin | component = 'tool_capability' |
$plugin | version = 2022112800 |
tool_capability_calculate_role_data | ( | $capability, | |
array | $roles ) |
Calculates capability data organised by context for the given roles.
string | $capability | The capability to get data for. |
array | $roles | An array of roles to get data for. |
context[] | An array of contexts. |