Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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