Moodle  2.2.1
http://www.collinsharper.com
file_nested_element Class Reference
Inheritance diagram for file_nested_element:
Collaboration diagram for file_nested_element:

Public Member Functions

 process ($processor)
 fill_values ($values)

Protected Attributes

 $backupid

Detailed Description

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

Definition at line 85 of file backup_custom_fields.php.


Member Function Documentation

fill_values ( values)

Simple filler that, matching by name, will fill both attributes and final elements depending of this nested element, debugging info about non-matching elements and/or elements present in both places. Accept both arrays and objects.

Reimplemented from backup_nested_element.

Definition at line 97 of file backup_custom_fields.php.

Here is the call graph for this function:

process ( processor)

This function will call to the corresponding processor method in other to make them perform the desired tasks.

Reimplemented from backup_nested_element.

Definition at line 89 of file backup_custom_fields.php.


Field Documentation

$backupid [protected]

Definition at line 87 of file backup_custom_fields.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations