|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Functions | |
| admin_page_type_list ($pagetype, $parentcontext, $currentcontext) | |
| Return a list of page types. | |
| core_admin_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array()) | |
| File serving. | |
| admin_page_type_list | ( | $pagetype, | |
| $parentcontext, | |||
| $currentcontext ) |
Return a list of page types.
| string | $pagetype | current page type |
| stdClass | $parentcontext | Block's parent context |
| stdClass | $currentcontext | Current context of block |
| core_admin_pluginfile | ( | $course, | |
| $cm, | |||
| $context, | |||
| $filearea, | |||
| $args, | |||
| $forcedownload, | |||
| array | $options = array() ) |
File serving.
| stdClass | $course | The course object. |
| stdClass | $cm | The cm object. |
| context | $context | The context object. |
| string | $filearea | The file area. |
| array | $args | List of arguments. |
| bool | $forcedownload | Whether or not to force the download of the file. |
| array | $options | Array of options. |
| void|false |