ZMObject
└─ZMPlugins
└─Plugins
public class Plugins
extends ZMPlugins
| Fields inherited from org.zenmagick.core.services.plugins\ZMPlugins | |
|---|---|
| pluginBaseDir_, pluginStatus_, plugins_ | |
| Fields inherited from org.zenmagick.core\ZMObject | |
|---|---|
| properties_ | |
| Method Summary | |
|---|---|
| void | Create new instance. |
| protected integer | comparePlugins(ZMPlugin a, ZMPlugin b) {@inheritDoc} |
| static void | instance() Get instance. |
| protected array | {@inheritDoc} |
| Methods inherited from org.zenmagick.core.services.plugins\ZMPlugins | |
|---|---|
| __construct, comparePlugins, getAllPlugins, getGroups, getPluginForId, getPluginIdsForGroup, getPluginsForGroup, initPluginForId, initPluginsForGroups, initPluginsForId, instance, loadStatus, needsInit | |
| Methods inherited from org.zenmagick.core\ZMObject | |
|---|---|
| __construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton | |
public void __construct()
Create new instance.
protected integer comparePlugins(ZMPlugin a, ZMPlugin b)
Compare plugins.
public static void instance()
Get instance.
protected array loadStatus()
Load the plugin status data.
The default implementation is to look at settings in the form zenmagick.core.plugins.[id].enabled.
Plugins.
The plugin type is controlled by the base directory within the plugins directory. Please note that even though it is valid to create payment, shipping and order_total directories/plugins, zen-cart will not (yet) recognize them as such.