Skip to content

Kirby 4.1.2

Sane::sanitize()

Sanitizes the given string with the specified handler

Sane::sanitize(string $string, string $type, bool $isExternal = false): string

Parameters

Name Type Default Description
$string * string
$type * string
$isExternal bool false Whether the string is from an external file
that may be accessed directly

Return type

string

Parent class

Kirby\Sane\Sane