class Text_Plain_Xml extends TransformationsPlugin (View source)

Handles the XML transformation for text plain

Methods

bool
applyTransformationNoWrap(array $options = [])

Does the actual work of each specific transformations plugin.

string
applyTransformation(string $buffer, array $options = [], FieldMetadata|null $meta = null)

Does the actual work of each specific transformations plugin.

array
getOptions(array $options, array $defaults)

Returns passed options or default values if they were not set

__construct()

No description

static string
getInfo()

Gets the transformation description of the specific plugin

static string
getMIMEType()

Gets the plugin`s MIME type

static string
getMIMESubtype()

Gets the plugin`s MIME subtype

static string
getName()

Gets the transformation name of the specific plugin

Details

bool applyTransformationNoWrap(array $options = [])

Does the actual work of each specific transformations plugin.

Parameters

array $options

transformation options

Return Value

bool

string applyTransformation(string $buffer, array $options = [], FieldMetadata|null $meta = null)

Does the actual work of each specific transformations plugin.

Parameters

string $buffer

text to be transformed

array $options

transformation options

FieldMetadata|null $meta

meta information

Return Value

string

the transformed text

array getOptions(array $options, array $defaults)

Returns passed options or default values if they were not set

Parameters

array $options

List of passed options

array $defaults

List of default values

Return Value

array

List of options possibly filled in by defaults.

__construct()

No description

static string getInfo()

Gets the transformation description of the specific plugin

Return Value

string

static string getMIMEType()

Gets the plugin`s MIME type

Return Value

string

static string getMIMESubtype()

Gets the plugin`s MIME subtype

Return Value

string

static string getName()

Gets the transformation name of the specific plugin

Return Value

string