Class for returning event information.  
 More...
Class for returning event information. 
- Since
- Moodle 2.8
- Copyright
- 2014 onwards Ankit Agarwal ankit.nosp@m..agr.nosp@m.r@gma.nosp@m.il.c.nosp@m.om 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ get_all_eventlist()
  
  | 
        
          | static tool_monitor\eventlist::get_all_eventlist | ( |  | $withoutcomponent = false | ) |  |  | static | 
 
Get a list of events present in the system. 
- Parameters
- 
  
    | bool | $withoutcomponent | Return an eventlist without associated components. |  
 
- Return values
- 
  
    | array | list of events present in the system. |  
 
 
 
◆ get_plugin_list()
  
  | 
        
          | static tool_monitor\eventlist::get_plugin_list | ( |  | $eventlist = array() | ) |  |  | static | 
 
Return list of plugins that have events. 
- Parameters
- 
  
  
- Return values
- 
  
    | array | list of plugins with human readable name, grouped by their type |  
 
 
 
◆ validate_event_plugin()
  
  | 
        
          | static tool_monitor\eventlist::validate_event_plugin | ( |  | $plugin, |  
          |  |  |  | $eventname, |  
          |  |  |  | $eventlist = array() ) |  | static | 
 
validate if the given event belongs to the given plugin. 
- Parameters
- 
  
    | string | $plugin | Frankenstyle name of the plugin. |  | string | $eventname | Full qualified event name. |  | array | $eventlist | List of events generated by eventlist::get_all_eventlist |  
 
- Return values
- 
  
    | bool | Returns true if the selected event belongs to the selected plugin, false otherwise. |  
 
 
 
The documentation for this class was generated from the following file: