Documentation

DataElement
in package

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

Properties

$schema

protected mixed $schema = ['name' => '', 'attributes' => [], 'elements' => []]

Methods

__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>

loadDocument()

public static loadDocument(DOMDocument $doc, array<string|int, mixed> $schema) : mixed
Parameters
$doc : DOMDocument
$schema : array<string|int, mixed>

        
On this page

Search results