| 
    Moodle APIs 4.1
    
   Moodle 4.1.9+ (Build: 20240402) 
   | 
 
Directories | |
| directory | classes | 
|    | |
| directory | presets | 
|    | |
| directory | tests | 
|    | |
| directory | tool | 
|    | |
Files | |
| file | lib.php | 
| This file contains functions used by the admin pages.  | |
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 |