DataElement
Table of Contents
Properties
-
$dataNode
: mixed
-
$dataXPath
: mixed
-
$elementList
: mixed
-
$schema
: mixed
Methods
-
__construct()
: mixed
-
appendAttributeList()
: mixed
-
appendDataList()
: mixed
-
getAttributes()
: mixed
-
getDataNode()
: mixed
-
getElementList()
: mixed
-
loadDocument()
: mixed
$dataNode
protected
mixed
$dataNode
$dataXPath
protected
mixed
$dataXPath
$elementList
protected
mixed
$elementList
= []
$schema
protected
mixed
$schema
= ['name' => '', 'attributes' => [], 'elements' => []]
__construct()
public
__construct(DOMXPath $dataXPath, array<string|int, mixed> $schema, DOMElement $dataNode) : mixed
Parameters
-
$dataXPath
: DOMXPath
-
-
$schema
: array<string|int, mixed>
-
-
$dataNode
: DOMElement
-
appendAttributeList()
public
appendAttributeList(array<string|int, mixed> $attributeList) : mixed
Parameters
-
$attributeList
: array<string|int, mixed>
-
appendDataList()
public
appendDataList(mixed $name, array<string|int, mixed> $dataList) : mixed
Parameters
-
$name
: mixed
-
-
$dataList
: array<string|int, mixed>
-
getAttributes()
public
getAttributes() : mixed
getDataNode()
public
getDataNode() : mixed
getElementList()
public
getElementList() : mixed
loadDocument()
public
static loadDocument(DOMDocument $doc, array<string|int, mixed> $schema) : mixed
Parameters
-
$doc
: DOMDocument
-
-
$schema
: array<string|int, mixed>
-