Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

(no description)

File Size: 350 lines (11 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class


Class: entities  - X-Ref


safexml($value)   X-Ref
Prepares convert for inclusion into XML

param: string $value
return: string

prepare_content($content)   X-Ref
No description

load_xml_resource($path_to_file)   X-Ref
No description

update_sources($html, $root_path = '')   X-Ref
No description

full_path($path, $dir_sep = DIRECTORY_SEPARATOR)   X-Ref
No description

include_titles($html)   X-Ref
No description

get_external_xml($identifier)   X-Ref
No description

move_files($files, $destination_folder)   X-Ref
No description

get_all_files()   X-Ref
No description

move_all_files()   X-Ref
No description

load_html($html)   X-Ref

param: string $html
return: DOMDocument

html_insidebody($domdocument)   X-Ref

param: DOMDocument $domdocument
return: string

generate_random_string($length = 6)   X-Ref
No description

truncate_text($text, $max, $remove_html)   X-Ref
No description