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

Class: DXMLCacheParser

Source Location: /Parsers/DXMLCacheParser.php

Class Overview

DObject
   |
   --DParserBase
      |
      --DXMLParser
         |
         --DXMLCacheParser

Caching xml parsing class


Variables

Methods


Child classes:

DShellConfigParser
Base class for handling talbe configuration
DXMLCachedSimpleShell
Simple wrapper over DXMLParser
DActionsConfigParser
Base class for parsing action configurations

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 48]
Caching xml parsing class



[ Top ]


Class Variables

$userCache =  PHP_DXMLCACHEPARSER_USE_CACHE

[line 55]

Use cache flag



Tags:

access:  public

Type:   boolean


[ Top ]



Class Methods


constructor __construct [line 64]

DXMLCacheParser __construct( [string $fileName = null])

Constructor



Tags:

access:  public


Overridden in child classes as:

DShellConfigParser::__construct()
Class constructor
DXMLCachedSimpleShell::__construct()
Class constructor
DActionsConfigParser::__construct()
Class constructor

Overrides DXMLParser::__construct() (Class constructor)

Parameters:

string   $fileName  

[ Top ]

method parse [line 77]

array parse( [boolean $caseFolding = false])

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

Overloads the DXMLParser::parse and makes cache. Cache is checked for validity by time modified.




Tags:

access:  public


Overrides DXMLParser::parse() (Parses the XML file and returns an associative array. Null if file cannot be opened.)

Parameters:

boolean   $caseFolding  

[ Top ]


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