Project

General

Profile

Actions

Feature proposal #6728

closed

Implement API library

Added by krileon over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
11 August 2017
Due date:
% Done:

100%

Estimated time:

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.

Actions

Also available in: Atom PDF