Page external functions.
More...
Page external functions.
- Copyright
- 2015 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.0
◆ get_pages_by_courses()
static mod_page_external::get_pages_by_courses |
( |
| $courseids = array() | ) |
|
|
static |
Returns a list of pages in a provided list of courses.
If no list is provided all pages that the user can view will be returned.
- Parameters
-
array | $courseids | course ids |
- Return values
-
array | of warnings and pages |
- Since
- Moodle 3.3
◆ get_pages_by_courses_parameters()
static mod_page_external::get_pages_by_courses_parameters |
( |
| ) |
|
|
static |
Describes the parameters for get_pages_by_courses.
- Return values
-
external_function_parameters | |
- Since
- Moodle 3.3
◆ get_pages_by_courses_returns()
static mod_page_external::get_pages_by_courses_returns |
( |
| ) |
|
|
static |
Describes the get_pages_by_courses return value.
- Return values
-
external_single_structure | |
- Since
- Moodle 3.3
◆ view_page()
static mod_page_external::view_page |
( |
| $pageid | ) |
|
|
static |
Simulate the page/view.php web interface page: trigger events, completion, etc...
- Parameters
-
int | $pageid | the page instance id |
- Return values
-
array | of warnings and status result |
- Since
- Moodle 3.0
- Exceptions
-
◆ view_page_parameters()
static mod_page_external::view_page_parameters |
( |
| ) |
|
|
static |
Returns description of method parameters.
- Return values
-
external_function_parameters | |
- Since
- Moodle 3.0
◆ view_page_returns()
static mod_page_external::view_page_returns |
( |
| ) |
|
|
static |
Returns description of method result value.
- Return values
-
- Since
- Moodle 3.0
The documentation for this class was generated from the following file: