Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: