$sanitizer


Properties and Methods

$sanitizer->username($value)

Introduced in Version 2.0

Description

Sanitizes a value for a User name, meaning all characters except for these ASCII characters "a-zA-Z0-9-_.@" (not including the quotes) are removed. It also truncates the length to 50 characters.

Deprecated since 2.4 uses sanitizer pageName().

Related

Post Comment