.

ConverterTextPlaceholders Class Reference

Replace place holders. More...

Inheritance diagram for ConverterTextPlaceholders:
IConverter

List of all members.

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.

Author:
Gerd Riesselmann

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.

00022                                                         {
00023                 return $value;          
00024         }       
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: