Label external functions.
More...
Label external functions.
- Copyright
- 2017 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 3.3
◆ get_labels_by_courses()
static mod_label_external::get_labels_by_courses |
( |
| $courseids = array() | ) |
|
|
static |
Returns a list of labels in a provided list of courses.
If no list is provided all labels that the user can view will be returned.
- Parameters
-
array | $courseids | course ids |
- Return values
-
array | of warnings and labels |
- Since
- Moodle 3.3
◆ get_labels_by_courses_parameters()
static mod_label_external::get_labels_by_courses_parameters |
( |
| ) |
|
|
static |
Describes the parameters for get_labels_by_courses.
- Return values
-
external_function_parameters | |
- Since
- Moodle 3.3
◆ get_labels_by_courses_returns()
static mod_label_external::get_labels_by_courses_returns |
( |
| ) |
|
|
static |
Describes the get_labels_by_courses return value.
- Return values
-
external_single_structure | |
- Since
- Moodle 3.3
The documentation for this class was generated from the following file: