$sanitizer


Properties and Methods

$sanitizer->selectorValue($value)

Introduced in Version 2.0

Description

Sanitizes a string that needs to appear in a selector value. Replaces disallowed characters with spaces. If value is not already quoted, it will add quotes if it determines they are necessary (like if it contains commas). It limits the length to 100 characters (multibyte safe).

Post Comment