Text_Plain_Bool2Text
class Text_Plain_Bool2Text extends Bool2TextTransformationsPlugin (View source)
Handles the Boolean to Text transformation for text plain.
Has one option: the output format (default 'T/F') or 'Y/N'
Methods
Returns true if the element requires no wrapping
Returns passed options or default values if they were not set
Gets the transformation description of the specific plugin
Does the actual work of each specific transformations plugin.
Gets the transformation name of the specific plugin
Gets the plugin`s MIME type
Gets the plugin`s MIME subtype
Details
bool
applyTransformationNoWrap(array $options = [])
Returns true if the element requires no wrapping
array
getOptions(array $options, array $defaults)
Returns passed options or default values if they were not set
static string
getInfo()
Gets the transformation description of the specific plugin
string
applyTransformation(string $buffer, array $options = [], FieldMetadata|null $meta = null)
Does the actual work of each specific transformations plugin.
static string
getName()
Gets the transformation name of the specific plugin
static string
getMIMEType()
Gets the plugin`s MIME type
static string
getMIMESubtype()
Gets the plugin`s MIME subtype