Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
core_search\external\get_top_results Class Reference
Inheritance diagram for core_search\external\get_top_results:

Static Public Member Functions

static execute (string $query, array $filters=[])
 Gets top search results based on the provided query and filters.
 
static execute_parameters ()
 Webservice parameters.
 
static execute_returns ()
 Webservice returns.
 

Member Function Documentation

◆ execute()

static core_search\external\get_top_results::execute ( string $query,
array $filters = [] )
static

Gets top search results based on the provided query and filters.

Parameters
string$querythe search query
array$filtersfilters to apply
Return values
arraysearch results

◆ execute_parameters()

static core_search\external\get_top_results::execute_parameters ( )
static

Webservice parameters.

Return values
external_function_parameters

◆ execute_returns()

static core_search\external\get_top_results::execute_returns ( )
static

Webservice returns.

Return values
external_single_structure

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