Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Instantiable class representing one attribute atom (name/value) piece of information on backup. More...
Public Member Functions | |
annotate ($backupid) | |
This function implements the annotation of the current value associating it with $itemname. | |
clean_value () | |
get_name () | |
Public API starts here. | |
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 | |
validate_name ($name) | |
Protected Attributes | |
$annotationitem | |
Instantiable class representing one attribute atom (name/value) piece of information on backup.
backup_attribute::annotate | ( | $backupid | ) |
This function implements the annotation of the current value associating it with $itemname.
Implements annotable.
backup_attribute::process | ( | $processor | ) |
This function will call to the corresponding processor method in other to make them perform the desired tasks.
Implements processable.
backup_attribute::set_annotation_item | ( | $itemname | ) |
This function sets the $itemname to be used when annotating.
Implements annotable.
|
inherited |
Reimplemented in base64_encode_final_element, and encrypted_final_element.
|
inherited |
Reimplemented from base_atom.