Class XmlDaoFactory

Description

class XmlDaoFactory

This class implements the DAO Factory's operations that create concrete XML Data Access Objects (DAOs).

Located in /xmldaofactory.class.php (line 19)

Exception
   |
   --PException
      |
      --XmlDaoFactory
Variable Summary
Method Summary
XmlConfigDao GetXmlDao (DomDocument $DomDocument)
DomDocument LoadXmlFile (fileName $fileName, schemaName $schemaName, [whiteSpace $whiteSpace = FALSE])
Variables
mixed $XmlDaoFactory (line 21)
  • static:
  • access: private
Methods
GetInstance (line 32)

function GetInstance

This method instantiates a new object from this class; more specifically, it's a singleton instance.

  • return: object instance
  • static:
  • access: public
XmlDaoFactory GetInstance ()
GetXmlDao (line 89)

function GetXmlDao

The GetXmlDao method creates a new object of class XmlConfigDao.

  • return: object instance
  • access: public
XmlConfigDao GetXmlDao (DomDocument $DomDocument)
  • DomDocument $DomDocument: DomDocument object
LoadXmlFile (line 51)

function LoadXmlFile

This method loads XML from a file, validates its associated XML Schema and optionally preserves white space.

  • return: object instance
  • access: public
DomDocument LoadXmlFile (fileName $fileName, schemaName $schemaName, [whiteSpace $whiteSpace = FALSE])
  • fileName $fileName: XML file
  • schemaName $schemaName: XML Schema file
  • whiteSpace $whiteSpace: Preserve white space

Inherited Methods

Inherited From PException

PException::Display()

Documentation generated on Thu, 9 Sep 2004 09:03:41 -0400 by phpDocumentor 1.3.0RC3