ZMObject
|
+--ZMPlugin
|
+--ZMBoxPlugin
public class ZMBoxPlugin
extends ZMPlugin
| Fields inherited from org.zenmagick.plugins.ZMPlugin | |
|---|---|
| KEY_ENABLED_SUFFIX, KEY_ORDER_SUFFIX, KEY_PREFIX, LP_ALL, LP_FOLDER, LP_NONE, LP_PLUGIN, SCOPE_ADMIN, SCOPE_ALL, SCOPE_STORE | |
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
ZMBoxPlugin(string title, string description, string version) Create new plugin. |
|
| Method Summary | |
|---|---|
| void | Create zen-cart dummy sideboxes plus default boxes for the default theme. |
| string | getBoxContents(mixed id) Get the contents for the given box id. |
| int | getBoxIndex(mixed id) Get the index from the given box id. |
| array | Get the ids/names of the boxes supported by this plugin. |
| void | install() Install this plugin. |
| void | remove(boolean keepSettings) Remove this plugin. |
| void | Remove zen-cart dummy sideboxes plus default boxes for the default theme. |
| Methods inherited from org.zenmagick.plugins.ZMPlugin | |
|---|---|
| addConfigValue, addMenuItem, get, getConfigPath, getConfigValues, getDescription, getGlobal, getId, getKeys, getLoaderPolicy, getMessages, getName, getPluginDir, getScope, getSortOrder, getType, getVersion, init, install, isEnabled, isInstalled, isTraditional, pluginURL, remove, set, setKeys, setLoaderPolicy, setPluginDir, setPreferredSortOrder, setScope, setSortOrder, setTraditional, setType, zcoSubscribe, zcoUnsubscribe | |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMBoxPlugin(string title, string description, string version)
Create new plugin.
public void createBoxes()
Create zen-cart dummy sideboxes plus default boxes for the default theme. /
public string getBoxContents(mixed id)
Get the contents for the given box id.
public int getBoxIndex(mixed id)
Get the index from the given box id.
This is assuming that the index is the suffix, separated by '_'.
0.public array getBoxNames()
Get the ids/names of the boxes supported by this plugin.
public void install()
Install this plugin. /
public void remove(boolean keepSettings)
Remove this plugin. /
true, the settings will not be removed; default is false.public void removeBoxes()
Remove zen-cart dummy sideboxes plus default boxes for the default theme. /
(Side-)box plugin.