Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Classes | Functions
admin

Files

file  admin_settings_search_form.php
 Admin settings search form.
 
file  lib.php
 This file contains functions used by the admin pages.
 

Classes

class  admin_settings_search_form
 Admin settings search form. More...
 

Functions

 admin_page_type_list ($pagetype, $parentcontext, $currentcontext)
 Return a list of page types. More...
 
 core_admin_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array())
 File serving. More...
 

Detailed Description

Function Documentation

◆ admin_page_type_list()

admin_page_type_list (   $pagetype,
  $parentcontext,
  $currentcontext 
)

Return a list of page types.

Parameters
string$pagetypecurrent page type
stdClass$parentcontextBlock's parent context
stdClass$currentcontextCurrent context of block

◆ core_admin_pluginfile()

core_admin_pluginfile (   $course,
  $cm,
  $context,
  $filearea,
  $args,
  $forcedownload,
array  $options = array() 
)

File serving.

Parameters
stdClass$courseThe course object.
stdClass$cmThe cm object.
context$contextThe context object.
string$fileareaThe file area.
array$argsList of arguments.
bool$forcedownloadWhether or not to force the download of the file.
array$optionsArray of options.
Return values
void|false