MysqlAdapter
classe MysqlAdapter étends AbstractConnection (Voir la source)
Constantes
PORT |
Default PORT |
Propriétés
protected string | $name | The connexion nane |
|
protected array | $config | The configuration definition |
depuis AbstractConnection |
protected int | $fetch | The PDO fetch mode |
depuis AbstractConnection |
protected PDO | $pdo | The PDO instance |
depuis AbstractConnection |
Méthodes
void
connection()
Make connexion
bind(PDOStatement $pdo_statement, array $bindings = [])
Executes PDOStatement::bindValue on an instance of
depuis
AbstractConnection
__construct(array $config)
MysqlAdapter constructor.
Détails
void
connection()
Make connexion
PDO
getConnection()
Retrieves the connection
void
setConnection(PDO $pdo)
Set the connection
string
getName()
Returns the name of the connection
void
setFetchMode(int $fetch)
Sets the data recovery mode.
array
getConfig()
Retrieves the configuration
string
getTablePrefix()
Retrieves the table prefix
string
getCharset()
Retrieves the type of encoding
string
getCollation()
Retrieves the define Collation
string
getPdoDriver()
Get the drive that PDO run on
PDOStatement
bind(PDOStatement $pdo_statement, array $bindings = [])
Executes PDOStatement::bindValue on an instance of
__construct(array $config)
MysqlAdapter constructor.