Skip to content

Kirby 4.5.0

new Dom()

Class constructor

new Dom(string $code, string $type = 'HTML')

Parameters

Name Type Default Description
$code * string XML or HTML code
$type string 'HTML' Document type ('HTML' or 'XML')

Parent class

Kirby\Toolkit\Dom