Elgg
Version 6.1
|
Validates input using htmlawed. More...
Public Member Functions | |
__invoke (\Elgg\Event $event) | |
htmLawed filtering of data More... | |
Static Public Member Functions | |
static | sanitizeStyles (\Elgg\Event $event) |
Sanitizes style attribute. More... | |
Elgg\Input\ValidateInputHandler::__invoke | ( | \Elgg\Event | $event | ) |
htmLawed filtering of data
Called on the 'sanitize', 'input' event
htmLawed's $config argument is filtered by the [config, htmlawed] event. htmLawed's $spec argument is filtered by the [spec, htmlawed] event.
For information on these arguments, see http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_README.htm#s2.2
\Elgg\Event | $event | 'sanitize', 'input' |
Definition at line 27 of file ValidateInputHandler.php.
|
static |
Sanitizes style attribute.
This function triggers the 'allowed_styles', 'htmlawed' event
\Elgg\Event | $event | 'attributes', 'htmlawed' |
Definition at line 87 of file ValidateInputHandler.php.