ZenMagick 0.9.8


org.zenmagick.store.service.Plugins
\store\services\plugins\Plugins.php at line 38

Class Plugins

ZMObject
└─ZMPlugins
└─Plugins

public class Plugins
extends ZMPlugins

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.

Author:
DerManoMann
Version:
$Id: Plugins.php 2694 2009-12-03 22:32:18Z dermanomann $

Fields inherited from org.zenmagick.core.services.plugins.ZMPlugins
pluginBaseDir_, pluginStatus_, plugins_
Fields inherited from org.zenmagick.core.ZMObject
properties_
Constructor Summary

Plugins()

Create new instance.

Method Summary
protected integer

comparePlugins(ZMPlugin a, ZMPlugin b)

{@inheritDoc}

static void

instance()

Get instance.

protected array

loadStatus()

{@inheritDoc}

Methods inherited from org.zenmagick.core.services.plugins.ZMPlugins
comparePlugins, getAllPlugins, getGroups, getPluginForId, getPluginIdsForGroup, getPluginsForGroup, initPluginForId, initPluginsForGroups, initPluginsForId, instance, loadStatus, needsInit
Methods inherited from org.zenmagick.core.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

\store\services\plugins\Plugins.php at line 43

Plugins

public Plugins()

Create new instance.


Method Detail

\store\services\plugins\Plugins.php at line 82

comparePlugins

protected integer comparePlugins(ZMPlugin a, ZMPlugin b)

Parameters:
a - First plugin.
b - Second plugin.
Returns:
Value less than, equal to, or greater than zero if the first argument is considered to be respectively less than, equal to, or greater than the second.

\store\services\plugins\Plugins.php at line 57

instance

public static void instance()

Get instance.


\store\services\plugins\Plugins.php at line 65

loadStatus

protected array loadStatus()

Returns:
The status of all plugins.

ZenMagick 0.9.8