classe SqliteAdapter étends AbstractConnection (Voir la source)

Propriétés

protected string $name

The connexion name

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()

Pas de description

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)

SqliteAdapter constructor.

Détails

void connection()

Pas de description

Valeur de retour

void

PDO getConnection()

Retrieves the connection

Valeur de retour

PDO

setConnection(PDO $pdo)

Set the connection

Paramètres

PDO $pdo

string getName()

Returns the name of the connection

Valeur de retour

string

setFetchMode(int $fetch)

Sets the data recovery mode.

Paramètres

int $fetch

array getConfig()

Retrieves the configuration

Valeur de retour

array

mixed|string getTablePrefix()

Retrieves the table prefix

Valeur de retour

mixed|string

mixed|string getCharset()

Retrieves the type of encoding

Valeur de retour

mixed|string

mixed|string getCollation()

Retrieves the define Collation

Valeur de retour

mixed|string

__construct(array $config)

SqliteAdapter constructor.

Paramètres

array $config