Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
entities Class Reference
Inheritance diagram for entities:
cc_forum cc_label cc_quiz cc_resource entities11 cc11_basiclti cc11_forum cc11_lti cc11_quiz cc11_resource

Public Member Functions

 full_path ($path, $dir_sep=DIRECTORY_SEPARATOR)
 
 generate_random_string ($length=6)
 
 get_external_xml ($identifier)
 
 include_titles ($html)
 
 load_xml_resource ($path_to_file)
 
 move_all_files ()
 
 move_files ($files, $destination_folder)
 
 truncate_text ($text, $max, $remove_html)
 
 update_sources ($html, $root_path='')
 

Static Public Member Functions

static safexml ($value)
 Prepares convert for inclusion into XML.
 

Protected Member Functions

 get_all_files ()
 
 prepare_content ($content)
 

Member Function Documentation

◆ safexml()

static entities::safexml ( $value)
static

Prepares convert for inclusion into XML.

Parameters
string$value
Return values
string

The documentation for this class was generated from the following file: