\Gishiki\Database\Adapters\Utils\ConnectionParserSqliteConnectionParser

the parser for SQLite connection queries.

Summary

Methods
Properties
Constants
parse()
getPDOConnection()
No public properties found
No constants found
getPDODriverName()
$file
N/A
No private methods found
No private properties found
N/A

Properties

$file

$file : 

Type

Methods

parse()

parse(string  $connection) 

Parse the given connection string.

The given connection string cannot contains dbtype://, but can either be in standard or PDO format.

Parameters

string $connection

the connection string

getPDOConnection()

getPDOConnection() : array

Get the list of arguments to be passed to the PDO constructor in order to connect the specified database.

Returns

array —

the list of arguments to be passed to the pdo driver

getPDODriverName()

getPDODriverName()