$sanitizer


Properties and Methods

$sanitizer->name($value)

Introduced in Version 2.0

Description

Sanitizes a value for a ProcessWire 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 128 characters.

Post Comment