◆ get_tag_areas()
static core_tag_external::get_tag_areas |
( |
| ) |
|
|
static |
Retrieves existing tag areas.
- Return values
-
array | an array of warnings and objects containing the plugin information |
- Exceptions
-
- Since
- Moodle 3.7
◆ get_tag_areas_parameters()
static core_tag_external::get_tag_areas_parameters |
( |
| ) |
|
|
static |
Returns description of get_tag_areas() parameters.
- Return values
-
external_function_parameters | |
- Since
- Moodle 3.7
◆ get_tag_areas_returns()
static core_tag_external::get_tag_areas_returns |
( |
| ) |
|
|
static |
◆ get_tag_cloud()
static core_tag_external::get_tag_cloud |
( |
| $tagcollid = 0, |
|
|
| $isstandard = false, |
|
|
| $limit = 150, |
|
|
| $sort = 'name', |
|
|
| $search = '', |
|
|
| $fromctx = 0, |
|
|
| $ctx = 0, |
|
|
| $rec = 1 ) |
|
static |
Retrieves a tag cloud for display.
- Parameters
-
int | $tagcollid | tag collection id |
bool | $isstandard | return only standard tags |
int | $limit | maximum number of tags to retrieve, tags are sorted by the instance count descending here regardless of $sort parameter |
string | $sort | sort order for display, default 'name' - tags will be sorted after they are retrieved |
string | $search | search string |
int | $fromctx | context id where this tag cloud is displayed |
int | $ctx | only retrieve tag instances in this context |
int | $rec | retrieve tag instances in the $ctx context and it's children (default 1) |
- Return values
-
array | an array of warnings and tag cloud information and items |
- Exceptions
-
- Since
- Moodle 3.7
◆ get_tag_cloud_parameters()
static core_tag_external::get_tag_cloud_parameters |
( |
| ) |
|
|
static |
Returns description of get_tag_cloud() parameters.
- Return values
-
external_function_parameters | |
- Since
- Moodle 3.7
◆ get_tag_cloud_returns()
static core_tag_external::get_tag_cloud_returns |
( |
| ) |
|
|
static |
◆ get_tag_collections()
static core_tag_external::get_tag_collections |
( |
| ) |
|
|
static |
Retrieves existing tag collections.
- Return values
-
array | an array of warnings and tag collections |
- Exceptions
-
- Since
- Moodle 3.7
◆ get_tag_collections_parameters()
static core_tag_external::get_tag_collections_parameters |
( |
| ) |
|
|
static |
◆ get_tag_collections_returns()
static core_tag_external::get_tag_collections_returns |
( |
| ) |
|
|
static |
◆ get_tagindex()
static core_tag_external::get_tagindex |
( |
| $params | ) |
|
|
static |
Get tags by their ids.
- Parameters
-
◆ get_tagindex_parameters()
static core_tag_external::get_tagindex_parameters |
( |
| ) |
|
|
static |
Parameters for function get_tagindex()
- Return values
-
external_function_parameters | |
◆ get_tagindex_per_area()
static core_tag_external::get_tagindex_per_area |
( |
| $params | ) |
|
|
static |
Returns the tag index per multiple areas if requested.
- Parameters
-
array | $params | Tag index required information. |
- Exceptions
-
- Since
- Moodle 3.7
◆ get_tagindex_per_area_parameters()
static core_tag_external::get_tagindex_per_area_parameters |
( |
| ) |
|
|
static |
◆ get_tagindex_per_area_returns()
static core_tag_external::get_tagindex_per_area_returns |
( |
| ) |
|
|
static |
Return structure for get_tagindex_per_area.
- Return values
-
- Since
- Moodle 3.7
◆ get_tagindex_returns()
static core_tag_external::get_tagindex_returns |
( |
| ) |
|
|
static |
◆ get_tags()
static core_tag_external::get_tags |
( |
| $tags | ) |
|
|
static |
Get tags by their ids.
- Parameters
-
◆ get_tags_parameters()
static core_tag_external::get_tags_parameters |
( |
| ) |
|
|
static |
Parameters for function get_tags()
- Return values
-
external_function_parameters | |
◆ get_tags_returns()
static core_tag_external::get_tags_returns |
( |
| ) |
|
|
static |
◆ update_tags()
static core_tag_external::update_tags |
( |
| $tags | ) |
|
|
static |
◆ update_tags_parameters()
static core_tag_external::update_tags_parameters |
( |
| ) |
|
|
static |
Parameters for function update_tags()
- Return values
-
external_function_parameters | |
◆ update_tags_returns()
static core_tag_external::update_tags_returns |
( |
| ) |
|
|
static |
Return structure for update_tag()
- Return values
-
The documentation for this class was generated from the following file: