External function for retrieving search results.
More...
|
static | execute (string $query, array $filters=[], int $page=0) |
| Gets global search results based on the provided query and filters.
|
|
static | execute_parameters () |
| Webservice parameters.
|
|
static | execute_returns () |
| Webservice returns.
|
|
External function for retrieving search results.
- Copyright
- 2023 David Monllao & Juan Leyva juan@.nosp@m.mood.nosp@m.le.co.nosp@m.m
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- Since
- Moodle 4.3
◆ execute()
static core_search\external\get_results::execute |
( |
string | $query, |
|
|
array | $filters = [], |
|
|
int | $page = 0 ) |
|
static |
Gets global search results based on the provided query and filters.
- Parameters
-
string | $query | the search query |
array | $filters | filters to apply |
int | $page | results page |
- Return values
-
◆ execute_parameters()
static core_search\external\get_results::execute_parameters |
( |
| ) |
|
|
static |
Webservice parameters.
- Return values
-
external_function_parameters | |
◆ execute_returns()
static core_search\external\get_results::execute_returns |
( |
| ) |
|
|
static |
Webservice returns.
- Return values
-
external_single_structure | |
The documentation for this class was generated from the following file: