Implementation of backup_final_element that provides base64 encoding.
More...
|
| 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) |
| Set the value for the final element, encoding it as utf-8/xml safe base64.
|
|
| to_string ($showvalue=false) |
|
|
| 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) |
|
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...).
◆ add_attributes()
base_final_element::add_attributes |
( |
| $attributes | ) |
|
|
inherited |
◆ annotate()
backup_final_element::annotate |
( |
| $backupid | ) |
|
|
inherited |
This function implements the annotation of the current value associating it with $itemname.
Implements annotable.
◆ destroy()
base_final_element::destroy |
( |
| ) |
|
|
inherited |
◆ get_level()
base_final_element::get_level |
( |
| ) |
|
|
inherited |
◆ get_new_attribute()
backup_final_element::get_new_attribute |
( |
| $name | ) |
|
|
protectedinherited |
Returns one instace of the @base_attribute class to work with when attributes are added simply by name.
Reimplemented from base_final_element.
◆ process()
backup_final_element::process |
( |
| $processor | ) |
|
|
inherited |
This function will call to the corresponding processor method in other to make them perform the desired tasks.
Implements processable.
◆ set_annotation_item()
backup_final_element::set_annotation_item |
( |
| $itemname | ) |
|
|
inherited |
This function sets the $itemname to be used when annotating.
Implements annotable.
◆ set_parent()
base_final_element::set_parent |
( |
| $element | ) |
|
|
protectedinherited |
◆ to_string()
base_final_element::to_string |
( |
| $showvalue = false | ) |
|
|
inherited |
The documentation for this class was generated from the following file:
- backup/moodle2/backup_custom_fields.php