1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Connection
Граф наследования:Connection:
Connection MssqlConnection MysqlCommonConnection OracleConnection PgsqlConnection NosqlConnection MysqliConnection HsphpReadConnection MemcacheConnection MemcachedConnection RedisConnection

Открытые члены

 __construct (array $configuration)
 connect ()
 disconnect ()
 getResource ()
 isConnected ()
 getConfiguration ()
 getMaxAllowedPacket ()

Защищенные члены

 connectInternal ()
 disconnectInternal ()

Защищенные данные

 $resource
 $isConnected = false
 $configuration

Подробное описание

Class Connection

Abstarct base class for data connections.

См. определение в файле connection.php строка 16

Конструктор(ы)

◆ __construct()

__construct ( array $configuration)

Переопределяется в HsphpReadConnection, MemcacheConnection, MemcachedConnection, RedisConnection, Connection, MysqlCommonConnection и MysqliConnection.

См. определение в файле connection.php строка 23

Методы

◆ connect()

connect ( )

Connects to data source.

Переопределяется в Connection.

См. определение в файле connection.php строка 31

◆ connectInternal()

connectInternal ( )
abstractprotected

◆ disconnect()

disconnect ( )

Disconects from data source.

Переопределяется в Connection.

См. определение в файле connection.php строка 41

◆ disconnectInternal()

disconnectInternal ( )
abstractprotected

◆ getConfiguration()

getConfiguration ( )

Returns the array with the connection parameters.

Возвращает
array

См. определение в файле connection.php строка 75

◆ getMaxAllowedPacket()

getMaxAllowedPacket ( )

Returns max packet length to send to or receive from the database server.

Возвращает
int

Переопределяется в MysqlCommonConnection.

См. определение в файле connection.php строка 85

◆ getResource()

getResource ( )

Returns the resource of the connection.

Возвращает
resource

См. определение в файле connection.php строка 51

◆ isConnected()

isConnected ( )

Returns the state of the connection.

Возвращает
bool

См. определение в файле connection.php строка 62

Поля

◆ $configuration

$configuration
protected

См. определение в файле connection.php строка 21

◆ $isConnected

$isConnected = false
protected

См. определение в файле connection.php строка 20

◆ $resource

$resource
protected

См. определение в файле connection.php строка 19


Объявления и описания членов класса находятся в файле: