|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| add_child ($element) | |
| process ($processor) | |
Instantiable class representing one optigroup element for conditional branching
Objects of this class are internally nested elements, so they support having both final elements and children (more nested elements) and are able to have one source and all the stuff supported by nested elements. Their main differences are:
Their main use is to allow conditional branching, basically for optional submodules like question types, assignment subtypes... where different subtrees of information must be exported. It's correct to assume that each submodule will define its own optigroup_element for backup purposes.
Definition at line 45 of file backup_optigroup.class.php.
| add_child | ( | $ | element | ) |
Reimplemented from base_nested_element.
Definition at line 47 of file backup_optigroup.class.php.
| process | ( | $ | processor | ) |
This function will call to the corresponding processor method in other to make them perform the desired tasks.
Implements processable.
Definition at line 59 of file backup_optigroup.class.php.
