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

Files

file  lib.php
 This file contains functions used by course reports.
 

Functions

 coursereport_page_type_list ($pagetype, $parentcontext, $currentcontext)
 Return a list of page types. More...
 

Detailed Description

Function Documentation

◆ coursereport_page_type_list()

coursereport_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