InputFilter
in package
A filter class for filtering user input from text fields.
Tags
Table of Contents
Methods
- decode() : string
- The decoding method which reverses the filters.
- encode() : string
- The encoding method which applies the filters.
Methods
decode()
The decoding method which reverses the filters.
public
static decode(string $text[, bool $allowHTML = false ]) : string
Parameters
- $text : string
- $allowHTML : bool = false
Tags
Return values
stringencode()
The encoding method which applies the filters.
public
static encode(string $text[, bool $allowHTML = false ]) : string
Parameters
- $text : string
- $allowHTML : bool = false