Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Implementation of backup_final_element that provides base64 encoding. More...
Public Member Functions | |
add_attributes ($attributes) | |
annotate ($backupid) | |
This function implements the annotation of the current value associating it with $itemname. More... | |
clean_value () | |
clean_values () | |
destroy () | |
Destroy all circular references. More... | |
get_attribute ($name) | |
get_attributes () | |
Public API starts here. | |
get_level () | |
get_name () | |
Public API starts here. | |
get_parent () | |
get_value () | |
is_set () | |
process ($processor) | |
This function will call to the corresponding processor method in other to make them perform the desired tasks. More... | |
set_annotation_item ($itemname) | |
This function sets the $itemname to be used when annotating. More... | |
set_value ($value) | |
Set the value for the final element, encoding it as utf-8/xml safe base64. More... | |
to_string ($showvalue=false) | |
Protected Member Functions | |
find_element_by_path ($path) | |
find_first_parent_by_name ($name) | |
get_grandoptigroupelement_or_grandparent () | |
get_grandparent () | |
get_new_attribute ($name) | |
Returns one instace of the @base_attribute class to work with when attributes are added simply by name. More... | |
set_parent ($element) | |
validate_name ($name) | |
Protected Attributes | |
$annotationitem | |
Implementation of backup_final_element that provides base64 encoding.
This final element transparently encodes with base64_encode() contents that normally are not safe for being stored in utf-8 xml files (binaries, serialized data...).
|
inherited |
Reimplemented in backup_optigroup_element, and base_optigroup.
|
inherited |
This function implements the annotation of the current value associating it with $itemname.
Implements annotable.
|
inherited |
|
inherited |
Reimplemented in backup_optigroup_element, and base_optigroup.
|
protectedinherited |
Returns one instace of the @base_attribute class to work with when attributes are added simply by name.
Reimplemented from base_final_element.
|
inherited |
This function will call to the corresponding processor method in other to make them perform the desired tasks.
Implements processable.
|
inherited |
This function sets the $itemname to be used when annotating.
Implements annotable.
|
protectedinherited |
Reimplemented in backup_optigroup_element, and base_optigroup.
base64_encode_final_element::set_value | ( | $value | ) |
Set the value for the final element, encoding it as utf-8/xml safe base64.
string | $value | Original value coming from backup step source, usually db. |
Reimplemented from base_atom.
|
inherited |
Reimplemented from base_atom.