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

Class: DActionsConfigParser

Source Location: /Web/MVC/DActionsConfigParser.php

Class Overview

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

Base class for parsing action configurations


Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: DXMLCacheParser

DXMLCacheParser::__construct()
Constructor
DXMLCacheParser::parse()
Parses the XML file and returns an associative array. Null if file cannot be opened.

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 17]
Base class for parsing action configurations



[ Top ]


Class Methods


static method getInstance [line 61]

static DActionsConfigParser &getInstance( [string $configXMLFile = null])

&getInstance($configXMLFile)

This method is used to get instance of the class




Tags:

return:  Reference on current instance
access:  public


Parameters:

string   $configXMLFile  

[ Top ]

constructor __construct [line 43]

DActionsConfigParser __construct( string $configXMLFile)

Class constructor



Tags:

access:  public


Overrides DXMLCacheParser::__construct() (Constructor)

Parameters:

string   $configXMLFile  

[ Top ]

method getAll [line 112]

array getAll( )

Gets all the action configuration in array



Tags:

access:  public


[ Top ]

method getAttributes [line 102]

array getAttributes( )

Gets node attributes



Tags:

access:  public


[ Top ]

method getClass [line 92]

string getClass( )

Gets the class in the file decided from the getFileByGetItem()



Tags:

access:  public


[ Top ]

method getFileByGetItem [line 74]

string getFileByGetItem( string $getItem)

Get the file name from the config file



Tags:

access:  public


Parameters:

string   $getItem  

[ Top ]


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