MysqlAdapter
class MysqlAdapter extends AbstractConnection (View source)
Constants
PORT |
Default PORT |
Properties
protected string | $name | The connexion nane |
|
protected array | $config | The configuration definition |
from AbstractConnection |
protected int | $fetch | The PDO fetch mode |
from AbstractConnection |
protected PDO | $pdo | The PDO instance |
from AbstractConnection |
Methods
void
connection()
Make connexion
__construct(array $config)
MysqlAdapter constructor.
Details
void
connection()
Make connexion
PDO
getConnection()
Retrieves the connection
setConnection(PDO $pdo)
Set the connection
string
getName()
Returns the name of the connection
setFetchMode(int $fetch)
Sets the data recovery mode.
array
getConfig()
Retrieves the configuration
mixed|string
getTablePrefix()
Retrieves the table prefix
mixed|string
getCharset()
Retrieves the type of encoding
mixed|string
getCollation()
Retrieves the define Collation
__construct(array $config)
MysqlAdapter constructor.