Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: