Skip to content

Kirby 5.0.4

new Dom()

Class constructor

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

Parameters

Name Type Default Description
$coderequired string no default value XML or HTML original input code
$type string 'HTML' Document type ('HTML' or 'XML')

Parent class

Kirby\Toolkit\Dom