ConverterTextPlaceholders Class Reference
Replace place holders. More...
Inheritance diagram for
ConverterTextPlaceholders:
Public Member Functions |
|
decode ($value, $params=false) | |
This function does nothing! Especially it
does NOT purify HTML! |
|
encode ($value, $params=false) | |
Purify HTML. |
Detailed Description
Replace place holders.
Definition at line 8 of file textplaceholders.converter.php.
Member Function Documentation
ConverterTextPlaceholders::decode | ( | $ | value, | |
$ | params = false |
|||
) |
This function does nothing! Especially it does NOT purify HTML!
Implements IConverter.
Definition at line 22 of file textplaceholders.converter.php.
ConverterTextPlaceholders::encode | ( | $ | value, | |
$ | params = false |
|||
) |
Purify HTML.
- Parameters:
-
string $value array See http://htmlpurifier.org/live/configdoc/plain.html for all possible values
Implements IConverter.
Definition at line 15 of file textplaceholders.converter.php.
00015 { 00016 return TextPlaceholders::apply($value); 00017 }
The documentation for this class was generated from the following file:
- contributions/text.placeholders/lib/helpers/converters/textplaceholders.converter.php