Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.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