Create IDBConnection interface

Components

Description

Create IDBConnection interface with all public methods of kDBConnection class and make both kDBConnection and kDBLoadBalancer classes to implement it.

Plan additions:

  1. filename would be "i_db_connection.php" and placed in same folder as "db_connection.php" file

  2. place correct license on top of the file

  3. register interface with the factory (see kApplication::RegisterDefaultClasses method)

Context Information

None

Additional information (do not use)

None

Attachments

4

is backported by

Activity

Alex 
July 30, 2013 at 4:11 PM

Patch "missing_i_db_connection_during_install_fix.patch" fixes problem with fatal error during installation because of missing interface.

[API] Administrator 
July 30, 2013 at 8:27 AM

User committed a fix to 5.3.x. Commit Message:

Fixes - Create IDBConnection interface
1. added missing methods to the interface
2. comments of methods fixed

Alex 
July 30, 2013 at 8:26 AM

Dmitry will test all together later.

Alex 
July 30, 2013 at 8:25 AM

Patch "create_idbconnection_interface_v2_fix.patch" fixes issues, discovered in "create_idbconnection_interface_v2.patch" patch.

Alex 
July 30, 2013 at 8:05 AM

A solid bunch of methods, including Query were not added to interface and therefore are not being auto-completed by IDE when $this->Conn-> is typed.

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Change Log Message

Commit Revision

Story Points

Fix versions

Patch Instructions

Patches must be submitted through Phabricator.

Created July 5, 2013 at 9:27 AM
Updated April 16, 2025 at 7:17 AM
Resolved July 29, 2013 at 3:55 PM