Documentation automatically generated from the source-code using phpDocumentor.
Official Homepage: xao-php.sourceforge.net
XAO
Official homepage | API home | class tree: XAO | index: XAO | all elements

Class: XmlDB

Source Location: Program_Root/XAO_XmlDb.php

Class XmlDB

Class Overview

Convert a result table from an SQL query into basic XML.

Very simple conversion of SQL query results table to XML data which may then be transformed into a suitable structure. Optionally more complext usage can include the use of callback functions through the optional arguments to the constructor. See the constructor method documentation for details. This class extends DomDoc and therefore inherits all DomDoc capabilities.

Located in Program_Root/XAO_XmlDb.php [line 38]

XaoRoot
   |
   --DomDoc
      |
      --XmlDB
Author(s):
  • Terence Kearns
Information Tags:
Link:  http://xao-php.sourceforge.net
License:  LGPL
Copyright:  Terence Kearns 2003
Version:  0.2
[ Top ]
Direct descendents
Child Class Description
Xindice Convert a result table from an SQL query into basic XML.

[ Top ]
Inherited Properties and Methods
Inherited Properties Inherited Methods

Inherited From DomDoc

DomDoc::$ndErr
DomDoc::$ndRoot
DomDoc::$objDoc
DomDoc::$objErr

Inherited From XaoRoot

XaoRoot::$arrCacheParams
XaoRoot::$fncErrCallbackFunc
XaoRoot::$idXaoNamespace
XaoRoot::$strDebugData
XaoRoot::$strError
XaoRoot::$strXaoNamespacePrefix

Inherited From DomDoc

DomDoc::DomDoc()
Constructor method
DomDoc::Arr2Atts()
Turn an associative array into attributes
DomDoc::arrNdXPath()
Return a list of nodes resulting from an XPath Query
DomDoc::blnTestElementNode()
Test if the supplied node is on object of type "domelement"
DomDoc::blnTestXmlName()
Do a reliable test for a valid element name
DomDoc::CommitToFile()
mass storage serialisation
DomDoc::ConsumeDocData()
Import well-balenced XML data to append below $this->ndRoot
DomDoc::ndAppendToNode()
quickly add a new element under an exising element node.
DomDoc::ndAppendToRoot()
quickly add a new element under the root element.
DomDoc::ndConsumeDoc()
Import a foreign PHP DOM XML document and append it below $this->ndRoot
DomDoc::ndConsumeFile()
Import an XML document from a file and append it below $this->ndRoot
DomDoc::ndConsumeFragData()
Import well-balenced XML data to append below $this->ndRoot
DomDoc::ndGetOneEl()
fetch a single element node by name
DomDoc::ndImportChildFrag()
Import a fragment from a foreign PHP DOM XML document
DomDoc::ProcessCustomTags()
Process all nodes (domelements) due for processing.
DomDoc::SetCustomTagName()
Have all elements of a specified name processed by a call-back function.
DomDoc::SetCustomTagQuery()
Use an XPath to nominate nodes for processing by a call-back function.
DomDoc::Throw()
Base error logger
DomDoc::xmlGetDoc()
Serialise and return the entire document object as stand-alone XML.
DomDoc::xmlGetFrag()
Serialise and return the entire document as an XML fragment.

Inherited From XaoRoot

XaoRoot::arrSetErrFnc()
XaoRoot::blnTestSafeName()
XaoRoot::Throw()
Generic/default error handler.

[ Top ]

Documentation generated on Tue, 23 Sep 2003 18:34:13 +1000 by phpDocumentor 1.2.2