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

Class: DDataBaseSQLImporter

Source Location: /DataBase/Importers/DDataBaseSQLImporter.php

Class Overview

DObject
   |
   --DDataBase
      |
      --DDataBaseSQLImporter

SQL Database importer class


Variables

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: DDataBase

DDataBase::__construct()
Constructor
DDataBase::getDBInstance()
Gets IDSQLBase instance
DDataBase::getInstance()
Gets database instance
DDataBase::initializeSQLBase()
Initializes the DB Layber
DDataBase::query()
Execute a SQL Query and returns the data
DDataBase::setCurrentDB()
Sets the current db

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]
SQL Database importer class



[ Top ]


Class Variables

$errors = array()

[line 25]

Errors array



Tags:

access:  public

Type:   array


[ Top ]



Class Methods


constructor __construct [line 34]

DDataBaseSQLImporter __construct( string $shellConfigXML)

Constructor



Tags:

access:  public


Overrides DDataBase::__construct() (Constructor)

Parameters:

string   $shellConfigXML  

[ Top ]

method clearUpDataBase [line 97]

void clearUpDataBase( [ $exclude = array()], [ $dropTables = false])

Cleans up the database, excluding givven tables



Tags:

access:  public


Parameters:

array   $exclude  
   $dropTables  

[ Top ]

method importFile [line 56]

void importFile( $fileName, [array $exclude = array()], [string $EOLNSymbol = "\n"], [bool $executeAll = false], string $sqlString)

Imports from file



Tags:

access:  public


Parameters:

string   $sqlString  
array   $exclude  
string   $EOLNSymbol  
bool   $executeAll  
   $fileName  

[ Top ]

method importString [line 70]

void importString( string $sqlString, [ $exclude = array()], [string $EOLNSymbol = "\n"], [bool $executeAll = false])

Imports from string



Tags:

access:  public


Parameters:

string   $sqlString  
array   $exclude  
string   $EOLNSymbol  
bool   $executeAll  

[ Top ]


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