depage-xmldb
v2.3.1
XML documents in a relational database
Toggle main menu visibility
Loading...
Searching...
No Matches
XmlGetter.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Depage\XmlDb\Interfaces;
4
11
interface
XmlGetter
12
{
20
public
function
docExists
($docIdOrName);
29
public
function
getDocXml
($docIdOrName, $addIdAttribute =
true
);
39
public
function
getDocXmlXpath
($docIdOrName, $xpath, $addIdAttribute =
true
);
40
}
Depage\XmlDb\Interfaces\XmlGetter
Interface of a read only accessor for xml documents.
Definition
XmlGetter.php:12
Depage\XmlDb\Interfaces\XmlGetter\docExists
docExists($docIdOrName)
gets the id of a document and checks whether it exists
Depage\XmlDb\Interfaces\XmlGetter\getDocXml
getDocXml($docIdOrName, $addIdAttribute=true)
gets a document as a DOMDocument
Depage\XmlDb\Interfaces\XmlGetter\getDocXmlXpath
getDocXmlXpath($docIdOrName, $xpath, $addIdAttribute=true)
gets the first node of a document that matches an xpath query
Interfaces
XmlGetter.php
Generated on
for depage-xmldb by
doxygen
1.18.0
For an overview of all docs, go to
docs.depage.net