$sanitizer→pagePathNameUTF8()
Sanitize a UTF-8 page path name (does not perform ASCII/UTF8 conversions)
- If
$config->pageNameCharsetis notUTF8then this does the same thing as$sanitizer->pagePathName(). - Returned path is not guaranteed to be valid or match a page, just sanitized.
Usage
$string = $sanitizer->pagePathNameUTF8(string $value);Arguments
| Name | Type(s) | Description |
|---|---|---|
$value | string | Path name to sanitize |
Return value
string
See Also
$sanitizer methods and properties
API reference based on ProcessWire core version 3.0.252