Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Instantiable class representing one final element atom (name/value/parent) piece of information on backup. More...
Public Member Functions | |
add_attributes ($attributes) | |
annotate ($backupid) | |
This function implements the annotation of the current value associating it with $itemname. | |
clean_value () | |
clean_values () | |
destroy () | |
Destroy all circular references. | |
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. | |
set_annotation_item ($itemname) | |
This function sets the $itemname to be used when annotating. | |
set_value ($value) | |
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. | |
set_parent ($element) | |
validate_name ($name) | |
Protected Attributes | |
$annotationitem | |
Instantiable class representing one final element atom (name/value/parent) piece of information on backup.
|
inherited |
Reimplemented in backup_optigroup_element, and base_optigroup.
backup_final_element::annotate | ( | $backupid | ) |
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.
|
protected |
Returns one instace of the @base_attribute class to work with when attributes are added simply by name.
Reimplemented from base_final_element.
backup_final_element::process | ( | $processor | ) |
This function will call to the corresponding processor method in other to make them perform the desired tasks.
Implements processable.
backup_final_element::set_annotation_item | ( | $itemname | ) |
This function sets the $itemname to be used when annotating.
Implements annotable.
|
protectedinherited |
Reimplemented in backup_optigroup_element, and base_optigroup.
|
inherited |
Reimplemented in base64_encode_final_element, and encrypted_final_element.
|
inherited |
Reimplemented from base_atom.