‪TYPO3CMS  11.5
TYPO3\CMS\Core\Database\Driver\PDOSqlsrv\Driver Class Reference
Inheritance diagram for TYPO3\CMS\Core\Database\Driver\PDOSqlsrv\Driver:

Public Member Functions

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

Private Member Functions

string _constructPdoDsn (array $params, array $connectionOptions)
 
 splitOptions (array $options)
 
 getConnectionOptionsDsn (array $connectionOptions)
 

Detailed Description

This is a full "clone" of the class of package doctrine/dbal. Scope is to use the PDOConnection of TYPO3. All private methods have to be checked on every release of doctrine/dbal.

Definition at line 27 of file Driver.php.

Member Function Documentation

◆ _constructPdoDsn()

string TYPO3\CMS\Core\Database\Driver\PDOSqlsrv\Driver::_constructPdoDsn ( array  $params,
array  $connectionOptions 
)
private

Constructs the Sqlsrv PDO DSN.

Parameters
mixed[]$params
string[]$connectionOptions
Returns
‪string The DSN.

Definition at line 52 of file Driver.php.

References TYPO3\CMS\Core\Database\Driver\PDOSqlsrv\Driver\getConnectionOptionsDsn().

Referenced by TYPO3\CMS\Core\Database\Driver\PDOSqlsrv\Driver\connect().

◆ connect()

TYPO3\CMS\Core\Database\Driver\PDOSqlsrv\Driver::connect ( array  $params,
  $username = null,
  $password = null,
array  $driverOptions = [] 
)

◆ getConnectionOptionsDsn()

TYPO3\CMS\Core\Database\Driver\PDOSqlsrv\Driver::getConnectionOptionsDsn ( array  $connectionOptions)
private

Converts a connection options array to the DSN

Parameters
string[]$connectionOptions

Definition at line 98 of file Driver.php.

Referenced by TYPO3\CMS\Core\Database\Driver\PDOSqlsrv\Driver\_constructPdoDsn().

◆ getName()

TYPO3\CMS\Core\Database\Driver\PDOSqlsrv\Driver::getName ( )

{}

Deprecated:

Definition at line 114 of file Driver.php.

◆ splitOptions()

TYPO3\CMS\Core\Database\Driver\PDOSqlsrv\Driver::splitOptions ( array  $options)
private

Definition at line 77 of file Driver.php.

Referenced by TYPO3\CMS\Core\Database\Driver\PDOSqlsrv\Driver\connect().