class XmlReader

Class XmlReader.

Constants

ROOT_PREFIX

Prefix namespace.

Methods

string
getRoot()

Get Root Prefix.

getXpath()

No description

getDocument(string $content)

Load document from XML.

parseToDocument(DOMDocument|string $value)

Parse value to document.

loadXpath(DOMDocument|string $value)

Init XPath.

loadXpathFromDoc(DOMDocument $doc)

Init XPath from document.

getValue($query)

No description

Details

at line 35
string getRoot()

Get Root Prefix.

Return Value

string

at line 43
DOMXPath getXpath()

Return Value

DOMXPath

at line 55
DOMDocument getDocument(string $content)

Load document from XML.

Parameters

string $content

Return Value

DOMDocument

at line 70
DOMDocument parseToDocument(DOMDocument|string $value)

Parse value to document.

Parameters

DOMDocument|string $value

Return Value

DOMDocument

at line 84
loadXpath(DOMDocument|string $value)

Init XPath.

Parameters

DOMDocument|string $value

at line 96
loadXpathFromDoc(DOMDocument $doc)

Init XPath from document.

Parameters

DOMDocument $doc

at line 110
getValue($query)

Parameters

$query