Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Functions | Variables
filter_displayh5p

Files

file  filter.php
 Display H5P filter.
 
file  install.php
 Display H5P active by default.
 
file  provider.php
 Privacy Subsystem implementation for filter_displayh5p.
 
file  settings.php
 Display H5P filter settings.
 
file  upgrade.php
 Display H5P upgrade code.
 
file  upgradelib.php
 Display H5P functions to install and upgrade the filter.
 
file  version.php
 Version of filter_displayh5p.
 

Namespaces

 filter_displayh5p\privacy
  
 

Classes

class  filter_displayh5p
 Display H5P filter. More...
 
class  filter_displayh5p\privacy\provider
 Privacy Subsystem for filter_displayh5p implementing null_provider. More...
 

Functions

 filter_displayh5p_reorder ()
 Move up the displayh5p filter over urltolink and activitynames filters to works properly. More...
 
 xmldb_filter_displayh5p_install ()
 Enable displayh5p filter by default to render H5P contents. More...
 
 xmldb_filter_displayh5p_upgrade ($oldversion)
 xmldb_filter_displayh5p_upgrade More...
 

Variables

$plugin component = 'filter_displayh5p'
 
$plugin requires = 2019111200
 
$plugin version = 2020031700
 

Detailed Description

Function Documentation

◆ filter_displayh5p_reorder()

filter_displayh5p_reorder ( )

Move up the displayh5p filter over urltolink and activitynames filters to works properly.

Also, displayh5p have to be enabled in order to display H5P content.

Return values
void

◆ xmldb_filter_displayh5p_install()

xmldb_filter_displayh5p_install ( )

Enable displayh5p filter by default to render H5P contents.

Exceptions
coding_exception

◆ xmldb_filter_displayh5p_upgrade()

xmldb_filter_displayh5p_upgrade (   $oldversion)

xmldb_filter_displayh5p_upgrade

Parameters
int$oldversionthe version we are upgrading from
Return values
boolresult