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

Class: DShellConfigParser

Source Location: /DataBase/Shells/DShellConfigParser.php

Class Overview

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

Base class for handling talbe configuration


Variables

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 22]
Base class for handling talbe configuration



[ Top ]


Class Variables

$database =  ""

[line 52]

Database name



Tags:

access:  public

Type:   string


[ Top ]

$dataTypes = array()

[line 103]

Datatypes

This is especially for version 2.0




Tags:

access:  public

Type:   array


[ Top ]

$dbpass =  ""

[line 83]

Database pass



Tags:

access:  public

Type:   string


[ Top ]

$dbuser =  ""

[line 77]

Database user



Tags:

access:  public

Type:   string


[ Top ]

$encoding =  ""

[line 58]

Database encoding



Tags:

access:  public

Type:   string


[ Top ]

$fieldTypes = array()

[line 95]

Type of table fields



Tags:

access:  public

Type:   array


[ Top ]

$host =  ""

[line 46]

DB host



Tags:

access:  public

Type:   string


[ Top ]

$schema =  ""

[line 71]

Database schema



Tags:

access:  public

Type:   string


[ Top ]

$set =  null

[line 34]

Set



Tags:

access:  public

Type:   string


[ Top ]

$sqltype =  ""

[line 40]

SQL type



Tags:

access:  public

Type:   string


[ Top ]

$table =  ""

[line 64]

Table name



Tags:

access:  public

Type:   string


[ Top ]

$tableFields = array()

[line 89]

Table fields



Tags:

access:  public

Type:   array


[ Top ]

$version =  PHP_DSHELLCONFIGPARSER_DEFAULT_CONFIGURATION_VERSION

[line 28]

Configuration version



Tags:

access:  public

Type:   string


[ Top ]



Class Methods


constructor __construct [line 110]

DShellConfigParser __construct( string $configXMLFile, [string $set = PHP_DDATABASE_DEFAULT_SET])

Class constructor



Tags:

access:  public


Overrides DXMLCacheParser::__construct() (Constructor)

Parameters:

string   $configXMLFile  
string   $set  

[ Top ]


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