ZMObject
└─ZMView
└─ZMSimplePluginFormView
public class ZMSimplePluginFormView
extends ZMView
| Constructor Summary | |
|---|---|
ZMSimplePluginFormView(mixed plugin, string function) Create instance. |
|
| Method Summary | |
|---|---|
| string | fetch(mixed request, string template, request The) {@inheritDoc} |
| string | {@inheritDoc} |
| protected ZMPluginPage | generateSimpleConfigForm(ZMRequest request, string function, string title, boolean all) Create a simple plugin config form. |
| ZMPlugin | Get the plugin. |
| void | setPlugin(mixed plugin) Set the plugin. |
| protected string | valueElement(ZMRequest request, mixed value) Generate form element for the given config value. |
| Methods inherited from org.zenmagick.mvc.view.ZMView | |
|---|---|
| fetch, generate, getContentType, getEncoding, getTemplate, getVars, getViewId, isValid, setTemplate, setVar, setVars, setViewId | |
| Methods inherited from org.zenmagick.core.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMSimplePluginFormView(mixed plugin, string function)
Create instance.
public string fetch(mixed request, string template, request The)
public string generate(ZMRequest request)
protected ZMPluginPage generateSimpleConfigForm(ZMRequest request, string function, string title, boolean all)
Create a simple plugin config form.
null to use the plugin name.true to show all.public ZMPlugin getPlugin()
Get the plugin.
public void setPlugin(mixed plugin)
Set the plugin.
ZMPlugin instance or plugin id.protected string valueElement(ZMRequest request, mixed value)
Generate form element for the given config value.
ZMWidget or ZMConfigValue.
Plugin view that generates a (view-less) simple form based on all plugin settings.