| Moodle APIs 4.3
    Moodle 4.3.6 (Build: 20240812) | 
| Topics | |
| test | |
| Directories | |
| directory | output | 
|  | |
| Namespaces | |
| namespace | tool_monitor | 
|  | |
| namespace | tool_monitor\event | 
| The tool_monitor rule created event. | |
| namespace | tool_monitor\output\managerules | 
| Renderable class for manage rules page. | |
| namespace | tool_monitor\output\managesubs | 
| Renderer class for manage subscriptions page. | |
| namespace | tool_monitor\privacy | 
| Privacy class for requesting user data. | |
| namespace | tool_monitor\task | 
|  | |
| Classes | |
| class | tool_monitor\event\rule_created | 
| The tool_monitor rule created event class.  More... | |
| class | tool_monitor\event\rule_deleted | 
| The tool_monitor rule deleted event class.  More... | |
| class | tool_monitor\event\rule_updated | 
| The tool_monitor rule updated event class.  More... | |
| class | tool_monitor\event\subscription_created | 
| The tool_monitor subscription created event class.  More... | |
| class | tool_monitor\event\subscription_deleted | 
| The tool_monitor subscription deleted event class.  More... | |
| class | tool_monitor\eventlist | 
| Class for returning event information.  More... | |
| class | tool_monitor\eventobservers | 
| Observer class containing methods monitoring various events.  More... | |
| class | tool_monitor\notification_task | 
| Adhock class, used to send notifications to users.  More... | |
| class | tool_monitor\output\managerules\renderable | 
| Renderable class for manage rules page.  More... | |
| class | tool_monitor\output\managerules\renderer | 
| Renderer class for manage rules page.  More... | |
| class | tool_monitor\output\managesubs\renderer | 
| Renderer class for manage subscriptions page.  More... | |
| class | tool_monitor\output\managesubs\rules | 
| Renderable class to display a set of rules in the manage subscriptions page.  More... | |
| class | tool_monitor\output\managesubs\subs | 
| Renderable class to display a set of subscriptions in the manage subscriptions page.  More... | |
| class | tool_monitor\privacy\provider | 
| Privacy provider for tool_monitor.  More... | |
| class | tool_monitor\rule | 
| Class represents a single rule.  More... | |
| class | tool_monitor\rule_form | 
| The mform for creating and editing a rule.  More... | |
| class | tool_monitor\rule_manager | 
| Rule manager class.  More... | |
| class | tool_monitor\subscription | 
| Class represents a single subscription instance (i.e with all the subscription info).  More... | |
| class | tool_monitor\subscription_manager | 
| Class to manage subscriptions.  More... | |
| class | tool_monitor\task\check_subscriptions | 
| Simple task class responsible for activating, deactivating and removing subscriptions.  More... | |
| class | tool_monitor\task\clean_events | 
| Simple task to clean the tool_monitor_events table.  More... | |
| Functions | |
| tool_monitor_can_subscribe () | |
| Check if the user has the capacity to subscribe to an event monitor anywhere. | |
| tool_monitor_extend_navigation_course ($navigation, $course, $context) | |
| This function extends the navigation with the tool items. | |
| tool_monitor_extend_navigation_frontpage ($navigation, $course, $context) | |
| This function extends the navigation with the tool items. | |
| tool_monitor_extend_navigation_user_settings ($navigation, $user, $usercontext, $course, $coursecontext) | |
| This function extends the navigation with the tool items for user settings node. | |
| tool_monitor_get_user_courses () | |
| Get a list of courses and also include 'Site' for site wide rules. | |
| xmldb_tool_monitor_upgrade ($oldversion) | |
| Upgrade the plugin. | |
| Variables | |
| $capabilities | |
| $definitions | |
| $messageproviders | |
| $observers | |
| This file definies observers needed by the tool. | |
| $plugin = 2023100400 | |
| $tasks | |
| This file defines tasks performed by the tool. | |
| $temp | |
| $plugin | component = 'tool_monitor' | 
| $plugin | version = 2023100900 | 
| tool_monitor_can_subscribe | ( | ) | 
Check if the user has the capacity to subscribe to an event monitor anywhere.
| bool | True if a capability in a course is found. False otherwise. | 
| tool_monitor_extend_navigation_course | ( | $navigation, | |
| $course, | |||
| $context ) | 
This function extends the navigation with the tool items.
| navigation_node | $navigation | The navigation node to extend | 
| stdClass | $course | The course to object for the tool | 
| context | $context | The context of the course | 
| tool_monitor_extend_navigation_frontpage | ( | $navigation, | |
| $course, | |||
| $context ) | 
This function extends the navigation with the tool items.
| navigation_node | $navigation | The navigation node to extend | 
| stdClass | $course | The course to object for the tool | 
| context | $context | The context of the course | 
| tool_monitor_extend_navigation_user_settings | ( | $navigation, | |
| $user, | |||
| $usercontext, | |||
| $course, | |||
| $coursecontext ) | 
This function extends the navigation with the tool items for user settings node.
| navigation_node | $navigation | The navigation node to extend | 
| stdClass | $user | The user object | 
| context | $usercontext | The context of the user | 
| stdClass | $course | The course to object for the tool | 
| context | $coursecontext | The context of the course | 
| tool_monitor_get_user_courses | ( | ) | 
Get a list of courses and also include 'Site' for site wide rules.
| array|bool | Returns an array of courses or false if the user has no permission to subscribe to rules. | 
| xmldb_tool_monitor_upgrade | ( | $oldversion | ) | 
Upgrade the plugin.
| int | $oldversion | 
| bool | always true | 
| $definitions | 
| $messageproviders | 
| $observers | 
This file definies observers needed by the tool.
| $tasks | 
This file defines tasks performed by the tool.
| $temp |