Flow PHP

XMLNode

Read onlyYes
FinalYes

Properties

$attributes  : array<string|int, mixed>
$children  : array<string|int, mixed>
$name  : string
$type  : XMLNodeType
$value  : string|null

Methods

append()  : self
appendAttribute()  : self
appendChild()  : self
flatNode()  : self
hasChildren()  : bool
hasValue()  : bool
nestedNode()  : self

Properties

$attributes

public array<string|int, mixed> $attributes = []

$children

public array<string|int, mixed> $children = []

Methods

appendChild()

public appendChild(self $child) : self
Parameters
$child : self
Return values
self

flatNode()

public static flatNode(string $name, string|null $value) : self
Parameters
$name : string
$value : string|null
Return values
self

hasChildren()

public hasChildren() : bool
Return values
bool

hasValue()

public hasValue() : bool
Return values
bool

nestedNode()

public static nestedNode(string $name) : self
Parameters
$name : string
Return values
self

        
On this page

Search results