class SqliteAdapter extends AbstractConnection (View source)

Properties

protected string $name

The connexion name

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

No 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.

Details

void connection()

No description

Return Value

void

PDO getConnection()

Retrieves the connection

Return Value

PDO

setConnection(PDO $pdo)

Set the connection

Parameters

PDO $pdo

string getName()

Returns the name of the connection

Return Value

string

setFetchMode(int $fetch)

Sets the data recovery mode.

Parameters

int $fetch

array getConfig()

Retrieves the configuration

Return Value

array

mixed|string getTablePrefix()

Retrieves the table prefix

Return Value

mixed|string

mixed|string getCharset()

Retrieves the type of encoding

Return Value

mixed|string

mixed|string getCollation()

Retrieves the define Collation

Return Value

mixed|string

__construct(array $config)

SqliteAdapter constructor.

Parameters

array $config