Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Classes | |
class | filter_activitynames |
Activity name filtering. More... | |
class | filter_algebra |
class | filter_emoticon |
class | filter_glossary |
Glossary linking filter class. More... | |
class | filter_mediaplugin |
Automatic media embedding filter class. More... | |
class | filter_tidy |
class | filter_urltolink |
Functions | |
filter_algebra_image ($imagefile, $tex="", $height="", $width="", $align="middle") | |
filter_tex_get_cmd ($pathname, $texexp) | |
filter_tex_get_executable ($debug=false) | |
filter_tex_sanitize_formula (string $texexp) | |
Check the formula expression against the list of denied keywords. | |
filter_tex_updatedcallback ($name) | |
Purge all caches when settings changed. | |
filter_text_image ($imagefile, $tex, $height, $width, $align, $alt) | |
Create TeX image link. | |
filter_urltolink_img_callback ($link) | |
Change links to images into embedded images. | |
xmldb_filter_data_install () | |
xmldb_filter_glossary_install () | |
xmldb_filter_mathjaxloader_install () | |
xmldb_filter_mediaplugin_install () | |
xmldb_filter_mediaplugin_upgrade ($oldversion) | |
xmldb_filter_tex_install () | |
xmldb_filter_tex_upgrade ($oldversion) | |
Variables | |
$plugin = 2023041800 | |
$plugin = 2023041800 | |
$plugin = 2023041800 | |
$plugin = 2023041800 | |
$plugin = 2023041800 | |
$plugin = 2023041800 | |
$plugin = 2023041800 | |
$plugin = 2023041800 | |
$plugin = 2023041800 | |
$plugin | component = 'filter_activitynames' |
$plugin | component = 'filter_algebra' |
$plugin | component = 'filter_data' |
$plugin | component = 'filter_emailprotect' |
$plugin | component = 'filter_glossary' |
$plugin | component = 'filter_mediaplugin' |
$plugin | component = 'filter_multilang' |
$plugin | component = 'filter_tex' |
$plugin | component = 'filter_tidy' |
$plugin | dependencies = array('mod_data' => 2023041800) |
$plugin | dependencies = array('mod_glossary' => 2023041800) |
$plugin | version = 2023042400 |
$plugin | version = 2023042400 |
$plugin | version = 2023042400 |
$plugin | version = 2023042400 |
$plugin | version = 2023042400 |
$plugin | version = 2023042400 |
$plugin | version = 2023042400 |
$plugin | version = 2023042400 |
$plugin | version = 2023042400 |
filter_tex_sanitize_formula | ( | string | $texexp | ) |
Check the formula expression against the list of denied keywords.
List of allowed could be more complete but also harder to maintain.
string | $texexp | Formula expression to check. |
string | Formula expression with denied keywords replaced with 'forbiddenkeyword'. |
filter_text_image | ( | $imagefile, | |
$tex, | |||
$height, | |||
$width, | |||
$align, | |||
$alt ) |
Create TeX image link.
string | $imagefile | name of file |
string | $tex | TeX notation (html entities already decoded) |
int | $height | O means automatic |
int | $width | O means automatic |
string | $align | |
string | $alt |
string | HTML markup |
filter_urltolink_img_callback | ( | $link | ) |
Change links to images into embedded images.
This plugin is intended for automatic conversion of image URLs when FORMAT_MOODLE used.
$link |
string |
xmldb_filter_mediaplugin_upgrade | ( | $oldversion | ) |
int | $oldversion | the version we are upgrading from |
bool | result |
xmldb_filter_tex_upgrade | ( | $oldversion | ) |
int | $oldversion | the version we are upgrading from |
bool | result |