Methods
-
Adds a user-defined filter.
-
Sanitizes a value with a specified single or set of filters.
-
Internal sanitize.
Methods Details
-
public function add(string $name, variable $body)
Adds a user-defined filter. -
public function sanitize(variable $value, variable $filters)
Sanitizes a value with a specified single or set of filters. -
protected function doSanitize(variable $value, string $filter)
Internal sanitize.