cloneConnection
\Bitrix\Main\DB\Connection public \Bitrix\Main\Data\ConnectionPool::cloneConnection( string $name, string $newName, array $parameters = array() );
This non-static method creates new connection based on the connection already used.
Parameters
Parameter | Description | Version |
---|---|---|
$name | Source of copy. | |
$newName | New copy name. | |
$parameters | Parameters, retrieved from the method ConnectionPool::createConnection . |
Exceptions
Examples
© «Bitrix24», 2001-2024
Up