Html::simplify()
Breaks a SimpleXMLElement down into a simpler tree structure of arrays and strings
Parameters
Name | Type | Default | Description |
---|---|---|---|
$element * | SimpleXMLElement |
– | |
$collectName | bool |
true |
Whether the element name should be collected (for the root element) |
Return type
array
|string
Parent class
Kirby\Cms\Html
inherited from Kirby\Toolkit\Xml