Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1295

Create IDBConnection interface

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.0-B1
    • Component/s: Database
    • Labels:
    • Change Log Group:
      Added
    • Change Log Message:
      Added "IDBConnection" interface to avoid further inconsistencies in API of "kDBConnection" and "kDBLoadBalancer" classes.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

    • Commit Revision:
      15,919

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: