Combu Server  3.1.1
PHP API Documentation
Public Member Functions | Protected Member Functions
DatabasePDO Class Reference
Inheritance diagram for DatabasePDO:
Database

Public Member Functions

 CloseConnection ()
 
 TestConnection ()
 
 GetError ()
 
 GetErrorNo ()
 
 InsertedId ($name=NULL)
 
 AffectedRows ()
 
 FetchAssoc ($result)
 
 FetchNum ($result)
 
 Query ($query)
 
 Escape ($text)
 
 TransactionStart ()
 
 TransactionCommit ()
 
 TransactionRollback ()
 
- Public Member Functions inherited from Database
 __construct ($dbType, $dbServer, $dbPort, $dbName, $dbUser, $dbPass)
 
 GetConnection ()
 
 CloseConnection ()
 
 TestConnection ()
 
 Query ($query)
 
 InsertedId ($name=NULL)
 
 AffectedRows ()
 
 FetchAssoc ($result)
 
 FetchNum ($result)
 
 Escape ($text)
 
 EscapeDate ($text)
 
 RecordExists ($query)
 
 TransactionStart ()
 
 TransactionCommit ()
 
 TransactionRollback ()
 
 GetError ()
 
 GetErrorNo ()
 

Protected Member Functions

 _setConnection ()
 
 _selectDatabase ()
 
- Protected Member Functions inherited from Database
 _setConnection ()
 
 _selectDatabase ()
 

Additional Inherited Members

- Protected Attributes inherited from Database
 $_dbType
 
 $_dbServer
 
 $_dbPort
 
 $_dbName
 
 $_dbUser
 
 $_dbPass
 
 $_connection
 

Detailed Description

Class to handle database connection and query using PDO

Author
Skared Creations

Definition at line 13 of file DatabasePDO.php.

Member Function Documentation

◆ _selectDatabase()

_selectDatabase ( )
protected

Definition at line 37 of file DatabasePDO.php.

◆ _setConnection()

_setConnection ( )
protected

Definition at line 18 of file DatabasePDO.php.

◆ AffectedRows()

AffectedRows ( )

Definition at line 65 of file DatabasePDO.php.

◆ CloseConnection()

CloseConnection ( )

Definition at line 40 of file DatabasePDO.php.

◆ Escape()

Escape (   $text)

Definition at line 114 of file DatabasePDO.php.

◆ FetchAssoc()

FetchAssoc (   $result)

Definition at line 79 of file DatabasePDO.php.

◆ FetchNum()

FetchNum (   $result)

Definition at line 86 of file DatabasePDO.php.

◆ GetError()

GetError ( )

Definition at line 51 of file DatabasePDO.php.

◆ GetErrorNo()

GetErrorNo ( )

Definition at line 55 of file DatabasePDO.php.

◆ InsertedId()

InsertedId (   $name = NULL)

Definition at line 59 of file DatabasePDO.php.

◆ Query()

Query (   $query)

Definition at line 93 of file DatabasePDO.php.

◆ TestConnection()

TestConnection ( )

Definition at line 44 of file DatabasePDO.php.

◆ TransactionCommit()

TransactionCommit ( )

Definition at line 129 of file DatabasePDO.php.

◆ TransactionRollback()

TransactionRollback ( )

Definition at line 136 of file DatabasePDO.php.

◆ TransactionStart()

TransactionStart ( )

Definition at line 122 of file DatabasePDO.php.