Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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

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: