Feature proposal #6728
closedImplement API library
Description
Move modal usages to libraries and call the libraries directly using autoloading to improve performance. This also means most if not all the code in the main plugin PHP file can be moved to library files to improve performance further. Example library structure.
/Action/CodeAction.php (action specific modal extends Action.php)
/Action/Action.php (modal base class; can probably move condition code to here)
/Action/ActionInterface.php (defines action base structure)
/Trigger/ActionTrigger.php (cbautoactionsPlugin code)
/Table/AutoActionTable.php (table class for auto action db table)
/CBAutoActions.php (main plugin class with utility functions)
Implement a function for AutoActionTable class to directly execute an auto action instead of using cbautoactionsClass::triggerAction.