Skip to content

Database: Simplify ilDBPdo inheritance structure#11312

Open
lscharmer wants to merge 1 commit intoILIAS-eLearning:trunkfrom
lscharmer:db/flatten-ildbpdo
Open

Database: Simplify ilDBPdo inheritance structure#11312
lscharmer wants to merge 1 commit intoILIAS-eLearning:trunkfrom
lscharmer:db/flatten-ildbpdo

Conversation

@lscharmer
Copy link
Contributor

This PR flatten the inheritance structure of ilDBPdo and related classes.

The following changed where made:

  • Move ilDBPdoMySQLGalera & ilDBPdoMySQLInnoDB from inheriting ilDBPdo to own implementing interfaces (Details).
  • Add new interface Internal to remove direct dependence on ilDBPDo inside the Database component
  • Merge ilDBPdoMySQL into ilDBPdo. This overwrites the following methods in ilDBPdo
  • Merge parts of ilDBPdoMySQLInnoDB into ilDBPdo. Notably:
    • addFulltextIndex
  • Use interfaces for $manager & $reverse, instead of classes in ilDBPdo.

@lscharmer lscharmer added improvement php Pull requests that update Php code labels Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants