Database: ezcDbHandlerMysql
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDbHandlerMysql
|
MySQL driver implementation [
source]
Parents
PDO
|
--ezcDbHandler
|
--ezcDbHandlerMysql
Inherited Member Variables
From
ezcDbHandler:
Method Summary
|
public ezcDbHandlerMysql |
__construct(
$dbParams, $dbparams )
Constructs a handler object from the parameters $dbParams. |
|
public ezcUtilitiesMysql |
createUtilities(
)
Returns a new ezcUtilities derived object for this database instance. |
|
public static string |
getName(
)
Returns 'mysql'. |
|
public static array(string) |
hasFeature(
$feature )
Returns the features supported by MySQL. |
Inherited Methods
From
ezcDbHandler :
Methods
__construct
ezcDbHandlerMysql __construct(
$dbParams, array
$dbparams )
Constructs a handler object from the parameters $dbParams.
Supported database parameters are:
- dbname|database: Database name
- user|username: Database user name
- pass|password: Database user password
- host|hostspec: Name of the host database is running on
- port: TCP port
- charset: Client character set
- socket: UNIX socket path
Parameters
| Name |
Type |
Description |
$dbparams |
array |
Database connection parameters (key=>value pairs). |
$dbParams |
|
|
Throws
| Class | Description |
ezcDbMissingParameterException |
if the database name was not specified. |
Redefinition of
createUtilities
ezcUtilitiesMysql createUtilities(
)
Returns a new ezcUtilities derived object for this database instance.
Redefinition of
getName
string getName(
)
Returns 'mysql'.
hasFeature
array(string) hasFeature(
$feature )
Returns the features supported by MySQL.
Parameters
| Name |
Type |
Description |
$feature |
|
|
Redefinition of
Last updated: Thu, 01 Nov 2007