[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/backup/moodle2/ -> backup_custom_fields.php (summary)

Defines various element classes used in specific areas

Copyright: 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 156 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 classes

anonymizer_final_element:: (1 method):
  set_value()

mnethosturl_final_element:: (1 method):
  set_value()

base64_encode_final_element:: (1 method):
  set_value()

file_nested_element:: (2 methods):
  process()
  fill_values()

backup_plugin_element:: (0 methods):

backup_subplugin_element:: (0 methods):


Class: anonymizer_final_element  - X-Ref

Implementation of backup_final_element that provides one interceptor for anonymization of data

This class overwrites the standard set_value() method, in order to get (by name)
functions from backup_anonymizer_helper executed, producing anonymization of information
to happen in a clean way

TODO: Finish phpdocs
set_value($value)   X-Ref
No description

Class: mnethosturl_final_element  - X-Ref

Implementation of backup_final_element that provides special handling of mnethosturl

This class overwrites the standard set_value() method, in order to decide,
based on various config options, what to do with the field.

TODO: Finish phpdocs
set_value($value)   X-Ref
No description

Class: base64_encode_final_element  - X-Ref

Implementation of {@link 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...).
set_value($value)   X-Ref
Set the value for the final element, encoding it as utf-8/xml safe base64.

param: string $value Original value coming from backup step source, usually db.

Class: file_nested_element  - X-Ref

Implementation of backup_nested_element that provides special handling of files

This class overwrites the standard fill_values() method, so it gets intercepted
for each file record being set to xml, in order to copy, at the same file, the
physical file from moodle file storage to backup file storage

TODO: Finish phpdocs
process($processor)   X-Ref
No description

fill_values($values)   X-Ref
No description

Class: backup_plugin_element  - X-Ref

Implementation of backup_optigroup_element to be used by plugins stuff.
Split just for better separation and future specialisation

Class: backup_subplugin_element  - X-Ref

Implementation of backup_optigroup_element to be used by subplugins stuff.
Split just for better separation and future specialisation



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1