![]() |
Combu Server
3.1.1
PHP API Documentation
|
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 | |
Class to handle database connection and query using PDO
Definition at line 13 of file DatabasePDO.php.
|
protected |
Definition at line 37 of file DatabasePDO.php.
|
protected |
Definition at line 18 of file DatabasePDO.php.
| AffectedRows | ( | ) |
Definition at line 65 of file DatabasePDO.php.
| CloseConnection | ( | ) |
Definition at line 40 of file DatabasePDO.php.
| Escape | ( | $text | ) |
Definition at line 114 of file DatabasePDO.php.
| FetchAssoc | ( | $result | ) |
Definition at line 79 of file DatabasePDO.php.
| FetchNum | ( | $result | ) |
Definition at line 86 of file DatabasePDO.php.
| GetError | ( | ) |
Definition at line 51 of file DatabasePDO.php.
| GetErrorNo | ( | ) |
Definition at line 55 of file DatabasePDO.php.
| InsertedId | ( | $name = NULL | ) |
Definition at line 59 of file DatabasePDO.php.
| Query | ( | $query | ) |
Definition at line 93 of file DatabasePDO.php.
| TestConnection | ( | ) |
Definition at line 44 of file DatabasePDO.php.
| TransactionCommit | ( | ) |
Definition at line 129 of file DatabasePDO.php.
| TransactionRollback | ( | ) |
Definition at line 136 of file DatabasePDO.php.
| TransactionStart | ( | ) |
Definition at line 122 of file DatabasePDO.php.
1.8.14