Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
tool_analytics\external Class Reference

This is the external API for this component. More...

Inheritance diagram for tool_analytics\external:

Static Public Member Functions

static potential_contexts (?string $query=null, ?int $modelid=null)
 Return the contexts that match the provided query.
 
static potential_contexts_parameters ()
 potential_contexts parameters.
 
static potential_contexts_returns ()
 potential_contexts return
 

Public Attributes

const MAX_CONTEXTS_RETURNED = 100
 

Detailed Description

This is the external API for this component.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ 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
arrayan 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
core_external\external_description

The documentation for this class was generated from the following file: