|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Namespaces | |
| namespace | filter_displayh5p |
| | |
| namespace | filter_displayh5p\privacy |
| | |
Classes | |
| class | filter_displayh5p\privacy\provider |
| Privacy Subsystem for filter_displayh5p implementing null_provider. More... | |
| class | filter_displayh5p\text_filter |
Functions | |
| filter_displayh5p_reorder () | |
| Move up the displayh5p filter over urltolink and activitynames filters to works properly. | |
| filter_displayh5p::filterobject_prepare_replacement_callback ($tagbegin, $tagend, $urlmodifier, $canbeedited, $ish5plink) | |
| Callback used by filterobject / filter_phrases. | |
| xmldb_filter_displayh5p_install () | |
| Enable displayh5p filter by default to render H5P contents. | |
| xmldb_filter_displayh5p_upgrade ($oldversion) | |
| xmldb_filter_displayh5p_upgrade | |
Variables | |
| $plugin = 2024100100 | |
| $renamedclasses | |
| $plugin | component = 'filter_displayh5p' |
| $plugin | version = 2024100700 |
| 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.
| void |
| filter_displayh5p\filterobject_prepare_replacement_callback | ( | $tagbegin, | |
| $tagend, | |||
| $urlmodifier, | |||
| $canbeedited, | |||
| $ish5plink ) |
Callback used by filterobject / filter_phrases.
| string | $tagbegin | HTML to insert before any match |
| string | $tagend | HTML to insert after any match |
| string | $urlmodifier | string to add to the match URL |
| bool | $canbeedited | Whether the content can be modified or not (to display a link to edit it or not). |
| bool | $ish5plink | Whether the original content comes from an H5P link or not. |
| array | [$hreftagbegin, $hreftagend, $replacementphrase] for filterobject. |
| xmldb_filter_displayh5p_install | ( | ) |
Enable displayh5p filter by default to render H5P contents.
| coding_exception |
| xmldb_filter_displayh5p_upgrade | ( | $oldversion | ) |
xmldb_filter_displayh5p_upgrade
| int | $oldversion | the version we are upgrading from |
| bool | result |
| $renamedclasses |