Inherits PntDatabaseConnection.
Public Member Functions | |
connect ($host, $port, $username, $password, $dbName) | |
Public Member Functions inherited from PntDatabaseConnection | |
makeConnection ($qh=null, $makeDefault=true) | |
setDsnPrefix ($value) | |
setDsnBody ($value) | |
setUsername ($value) | |
setPassword ($value) | |
setHost ($value) | |
setPort ($value) | |
setDatabaseName ($value) | |
setCharset ($value) | |
setDBSource ($value) | |
getDsn () | |
getDsnPrefix () | |
getDsnBody () | |
getUsername () | |
getPassword () | |
getHost () | |
getPort () | |
getDatabaseName () | |
getDBSource () | |
getCharset () | |
Additional Inherited Members | |
Static Public Member Functions inherited from PntDatabaseConnection | |
static | defaultConnection ($value=null) |
Data Fields inherited from PntDatabaseConnection | |
$dsnPrefix ='mysql:' | |
$dsnBody | |
$username | |
$password | |
$host | |
$port | |
$databaseName | |
$charset = 'latin1' | |
$dbSource | |
Instance of this class desrcibes a database connection.
This concrete subclass is here to keep de application developers code (including localization overrides) separated from the framework code.
connect | ( | $host, | |
$port, | |||
$username, | |||
$password, | |||
$dbName | |||
) |
, only works with MySql. Use ::makeConnection or QueryHandler::connect