Skip to content

Kirby 4.2.0

Xml::value()

Properly encodes tag contents

Xml::value($value): string|null

Parameters

Name Type Default
$value * mixed

Return type

string|null

Parent class

Kirby\Toolkit\Xml