Skip to content

Kirby 3.7.5

Dom::listContainsName()

Checks if a list contains the name of a node considering the allowed namespaces

Dom::listContainsName(array $list, DOMNode $node, array $options, Closure $compare = null): string|false

Parameters

Name Type Default Description
$list * array
$node * DOMNode
$options * array See Dom::sanitize()
$compare Closure null

Return type

string|false

Parent class

Kirby\Toolkit\Dom