Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | List of all members
xml_contenttransformer Class Reference

Abstract class to extend in order to transform @xml_writer text contents. More...

Inheritance diagram for xml_contenttransformer:
backup_xml_transformer moodle1_xml_transformer

Public Member Functions

 process ($content)
 

Detailed Description

Abstract class to extend in order to transform @xml_writer text contents.

Implementations of this class will provide @xml_writer with the ability of transform xml text contents before being sent to output. Useful for various things like link transformations in the backup process and others.

Just define the process() method, program the desired transformations and done!

TODO: Finish phpdocs


The documentation for this class was generated from the following file: