MIOLO20
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência ao interface Driver
Diagrama de heranças da classe Driver
DB2Driver Driver Driver Driver Driver Driver Driver Driver

Membros públicos

 connect (array $params, $username=null, $password=null, array $driverOptions=array())
 
 getDatabasePlatform ()
 
 getSchemaManager (Connection $conn)
 
 getName ()
 
 getDatabase (Connection $conn)
 

Descrição detalhada

Driver interface. Interface that all DBAL drivers must implement.

Desde
2.0

Definido na linha 28 do ficheiro Driver.php.

Documentação das funções

◆ connect()

connect ( array $params,
$username = null,
$password = null,
array $driverOptions = array() )

Attempts to create a connection with the database.

Parâmetros
array$paramsAll connection parameters passed by the user.
string$usernameThe username to use when connecting.
string$passwordThe password to use when connecting.
array$driverOptionsThe driver options to use when connecting.
Retorna
Doctrine\DBAL\Driver\Connection The database connection.

Implementado em DB2Driver, Driver, Driver, Driver, Driver, Driver, Driver e Driver.

◆ getDatabase()

getDatabase ( Connection $conn)

Get the name of the database connected to for this driver.

Parâmetros
Doctrine\DBAL\Connection$conn
Retorna
string $database

◆ getDatabasePlatform()

getDatabasePlatform ( )

Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to.

Retorna
Doctrine\DBAL\Platforms\AbstractPlatform The database platform.

Implementado em DB2Driver, Driver, Driver, Driver, Driver, Driver, Driver e Driver.

◆ getName()

getName ( )

Gets the name of the driver.

Retorna
string The name of the driver.

Implementado em DB2Driver, Driver, Driver, Driver, Driver, Driver, Driver e Driver.

◆ getSchemaManager()

getSchemaManager ( Connection $conn)

Gets the SchemaManager that can be used to inspect and change the underlying database schema of the platform this driver connects to.

Parâmetros
Doctrine\DBAL\Connection$conn
Retorna
Doctrine\DBAL\SchemaManager

Implementado em DB2Driver e Driver.


A documentação para este interface foi gerada a partir do seguinte ficheiro: