This is the external API for this component.  
 More...
|  | 
| const | MAX_CONTEXTS_RETURNED = 100 | 
|  | 
This is the external API for this component. 
- Copyright
- 2019 David Monllao  
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ potential_contexts()
  
  | 
        
          | static tool_analytics\external::potential_contexts | ( | ?string | $query = null, |  
          |  |  | ?int | $modelid = null ) |  | static | 
 
Return the contexts that match the provided query. 
- Since
- Moodle 3.8 
- Parameters
- 
  
    | string | null | $query |  |  | int | null | $modelid |  |  
 
- Return values
- 
  
    | array | an array of contexts |  
 
 
 
◆ potential_contexts_parameters()
  
  | 
        
          | static tool_analytics\external::potential_contexts_parameters | ( |  | ) |  |  | static | 
 
potential_contexts parameters. 
- Since
- Moodle 3.8 
- Return values
- 
  
    | external_function_parameters |  |  
 
 
 
◆ potential_contexts_returns()
  
  | 
        
          | static tool_analytics\external::potential_contexts_returns | ( |  | ) |  |  | static | 
 
potential_contexts return 
- Since
- Moodle 3.8 
- Return values
- 
  
  
 
 
The documentation for this class was generated from the following file: