Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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

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: