Validator

Validator

Validaton & Sanitization Class

Methods

sanitize

Sanitize the input data.

Validator::sanitize( array $input, array $allowableTags = array(), boolean $utf8_encode = true ): array

Return Value: array


sanitizeHTML

Sanitize an HTML string by stripping tags and handling the attributes within allowable tags.

Validator::sanitizeHTML( &$value, array $allowableTags = array() ): string

Return Value: string


Last updated : September 15, 2018 b92362d