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

Class: DXMLSimpleShell

Source Location: /Parsers/DXMLSimpleShell.php

Class Overview

DObject
   |
   --DParserBase
      |
      --DXMLParser
         |
         --DXMLSimpleShell

Simple wrapper over DXMLParser


Variables

Methods


Child classes:

DMultiLang
Base class for handling language configuration

Inherited Constants

Inherited Variables

Inherited Methods

Class: DXMLParser

DXMLParser::__construct()
Class constructor
DXMLParser::clearAll()
Clears nodes data from memory and removes temp files
DXMLParser::parse()
Parses the XML file and returns an associative array. Null if file cannot be opened.

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]
Simple wrapper over DXMLParser



[ Top ]


Class Variables

$caseFolding =  true

[line 53]

Case folding flag



Tags:

access:  public

Type:   boolean


[ Top ]

$rootNodeAttrib =  null

[line 46]

Root node attributes



Tags:

access:  public

Type:   DSafeArray


[ Top ]

$rootNodeName =  null

[line 39]

Root node name



Tags:

access:  public

Type:   string


[ Top ]

$XMLAttribData = array()

[line 32]

XML array of data attributes



Tags:

access:  public

Type:   array


[ Top ]

$XMLStructData = array()

[line 25]

XML array data structure



Tags:

access:  public

Type:   array


[ Top ]



Class Methods


constructor __construct [line 63]

DXMLSimpleShell __construct( [string $fileName = null], [boolean $autoCleanUp = true], [boolean $caseFolding = true])

Class constructor



Tags:

access:  public


Overridden in child classes as:

DMultiLang::__construct()
Class constructor

Overrides DXMLParser::__construct() (Class constructor)

Parameters:

string   $fileName  
boolean   $autoCleanUp  
boolean   $caseFolding  

[ Top ]

method cleanUp [line 102]

void cleanUp( )

Cleans up the xml node data to free space



Tags:

access:  public


[ Top ]

method getValue [line 113]

mixed getValue( string $path)

Gets value from the xml described by "."(coma) separated path to it



Tags:

access:  public


Parameters:

string   $path   Comma separated path

[ Top ]

method __get [line 92]

mixed __get( string $path)

Gets value



Tags:

access:  public


Parameters:

string   $path   Comma separated path

[ Top ]


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