phpCoreLib2
[ class tree: phpCoreLib2 ] [ index: phpCoreLib2 ] [ all elements ]

Class: DXMLParser

Source Location: /Parsers/DXMLParser.php

Class Overview

DObject
   |
   --DParserBase
      |
      --DXMLParser

Base xml parsing class


Variables

Methods


Child classes:

DGDConfigParser
ImageMagick parser
DMagickConfigParser
ImageMagick parser
DRSSAbstractReader
RSS Abstract Reader
DXMLCacheParser
Caching xml parsing class
DXMLSimpleShell
Simple wrapper over DXMLParser

Inherited Constants

Inherited Variables

Inherited Methods

Class: DParserBase

DParserBase::__construct()
Constructor
DParserBase::clearTemp()
Deletes temp file
DParserBase::getFileData()
Get file content
DParserBase::getFileName()
Gets the file name
DParserBase::parse()
Parse
DParserBase::setFileData()
Sets the xml srting to be parsed
DParserBase::setFileName()
Sets the file name to be parsed

Class: DObject

DObject::__construct()
Constructor
DObject::debug()
Debig
DObject::getClassMembers()
Gets member variables of the instance
DObject::getClassMemberType()
Gets class member type
DObject::getClassMethods()
Gets classes of the class
DObject::getClassName()
Gets class name
DObject::PHPSerialize()
Gets serialized string of the class
DObject::trace()
Trace
DObject::__destruct()
Descructor
DObject::__toString()
Returns String equivalent of the object.

Class Details

[line 18]
Base xml parsing class



[ Top ]


Class Variables

$errorMsg =  ""

[line 38]

Error message



Tags:

access:  public

Type:   string


[ Top ]

$_nodes = array()

[line 24]

Nodes structure used in the parsing of the xml



Tags:

access:  protected

Type:   array


[ Top ]



Class Methods


constructor __construct [line 46]

void __construct( [string $fileName = null])

Class constructor



Tags:

access:  public


Overridden in child classes as:

DGDConfigParser::__construct()
Class constructor
DMagickConfigParser::__construct()
Class constructor
DRSSAbstractReader::__construct()
Constructor
DXMLCacheParser::__construct()
Constructor
DShellConfigParser::__construct()
Class constructor
DXMLCachedSimpleShell::__construct()
Class constructor
DActionsConfigParser::__construct()
Class constructor
DXMLSimpleShell::__construct()
Class constructor
DMultiLang::__construct()
Class constructor

Overrides DParserBase::__construct() (Constructor)

Parameters:

string   $fileName   Name of the file to be parsed

[ Top ]

method clearAll [line 58]

void clearAll( )

Clears nodes data from memory and removes temp files



Tags:

access:  public


[ Top ]

method parse [line 187]

array parse( [boolean $caseFolding = false])

Parses the XML file and returns an associative array. Null if file cannot be opened.



Tags:

access:  public


Overridden in child classes as:

DRSSAbstractReader::parse()
Parsers the rss file and returns and analyzes the rss file for the version
DRSSReader::parse()
Parses the data and returns the success state from analyze method
DXMLCacheParser::parse()
Parses the XML file and returns an associative array. Null if file cannot be opened.

Overrides DParserBase::parse() (Parse)

Parameters:

boolean   $caseFolding  

[ Top ]


Documentation generated on Sat, 17 Apr 2010 22:14:12 +0300 by phpDocumentor 1.4.3