Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
xml_contenttransformer Class Reference

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

Inheritance diagram for xml_contenttransformer:

Public Member Functions

 process ($content)
 

Detailed Description

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

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

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

Member Function Documentation

◆ process()

xml_contenttransformer::process ( $content)
abstract

Reimplemented in moodle1_xml_transformer.


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