Elgg  Version 4.3
Public Member Functions | List of all members
Elgg\Input\ValidateInputHandler Class Reference

Validates input using htmlawed. More...

Public Member Functions

 __invoke (\Elgg\Hook $hook)
 htmLawed filtering of data More...
 

Detailed Description

Validates input using htmlawed.

Since
4.0

Definition at line 10 of file ValidateInputHandler.php.

Member Function Documentation

Elgg\Input\ValidateInputHandler::__invoke ( \Elgg\Hook  $hook)

htmLawed filtering of data

Called on the 'sanitize', 'input' plugin hook

htmLawed's $config argument is filtered by the [config, htmlawed] hook. htmLawed's $spec argument is filtered by the [spec, htmlawed] hook.

For information on these arguments, see http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_README.htm#s2.2

Parameters
\Elgg\Hook$hook'sanitize', 'input'
Returns
mixed

Definition at line 27 of file ValidateInputHandler.php.


The documentation for this class was generated from the following file: