Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: