dmBridge PHP API
DMMySQLDataStore Class Reference

An instance of this class will be returned by DMDataStoreFactory::getDataStore() when pdo_mysql is the current data store. More...

Inheritance diagram for DMMySQLDataStore:

Public Member Functions

Static Public Member Functions

Data Fields

Protected Attributes


Detailed Description

An instance of this class will be returned by DMDataStoreFactory::getDataStore() when pdo_mysql is the current data store.

Author:
Alex Dolski <alex.dolski@unlv.edu> http://www.opensource.org/licenses/mit-license.php

Definition at line 15 of file DMMySQLDataStore.php.


Member Function Documentation

static DMMySQLDataStore::destroyInstance ( ) [static]

Destroys the current Singleton object (not all your data)

Returns:
void

Definition at line 27 of file DMMySQLDataStore.php.

Referenced by DMDataStoreFactory::setDataStore().

DMMySQLDataStore::getConnection ( )
Returns:
PDO handle
Exceptions:
DMPDOException

Definition at line 67 of file DMMySQLDataStore.php.

static DMMySQLDataStore::getInstance ( ) [static]
Returns:
self object
Since:
0.3

Reimplemented in UNLVHighlightMySQLDataStore, UNLVRandomMySQLDataStore, and UNLVSpatialMySQLDataStore.

Definition at line 35 of file DMMySQLDataStore.php.

Referenced by DMDataStoreFactory::getDataStore().

DMMySQLDataStore::getType ( )
Returns:
string One of the constants in DMDataStoreType

Implements DMDataStore.

Definition at line 111 of file DMMySQLDataStore.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables