-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor module classes and file structure (#1153)
The module objects are very difficult to manipulate with simple arrays. Reorganize the code for a much better structure: - `QTX_Admin_Module`: provides the basic static data (id, name, plugins, ...) and the built-in setup. - `QTX_Admin_Module_Manager`: manages the module state updates and notices - `QTX_Admin_Module_Settings`: holds the data relevant for the settings, mostly for display - `QTX_Module_Loader`: reads the state and loads modules (used by admin and front core) Move files to the `modules` folder to keep the related code together.
- Loading branch information
Showing
15 changed files
with
548 additions
and
395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.