1 | <?php |
||
13 | class Adodb |
||
14 | { |
||
15 | /** |
||
16 | * Return a Zend\Db\Adapter\Adapter connection from an existing ADODb connection |
||
17 | * |
||
18 | * @throws Exception\UnsupportedDriverException |
||
19 | * @throws Exception\AdoNotConnectedException when connection is not initialized |
||
20 | * |
||
21 | * @param \ADOConnection $adoConnection |
||
22 | * @return Adapter |
||
23 | */ |
||
24 | 5 | public static function getAdapter(\ADOConnection $adoConnection) |
|
43 | |||
44 | /** |
||
45 | * Return internal adodb internal connection id |
||
46 | * @throws Exception\AdoNotConnectedException when connection is not initialized |
||
47 | * @param \ADOConnection $adoConnection |
||
48 | * @return \MySQLI|\PDO |
||
49 | */ |
||
50 | 4 | protected static function getADOConnectionId(\ADOConnection $adoConnection) |
|
58 | } |
||
59 |