ZMObject
└─ZMController
└─ZMPluginAdminController
public class ZMPluginAdminController
extends ZMController
| Constructor Summary | |
|---|---|
ZMPluginAdminController(string id, string title, mixed plugin) Create a new instance. |
|
| Method Summary | |
|---|---|
| ZMView | getCatalogManagerRedirectView(ZMRequest request, string requestId) Create a catalog manager redirect view. |
| ZMPlugin | Get the plugin. |
| ZMView | getPluginAdminView(ZMRequest request, string template) Create a configured admin view. |
| ZMView | getRedirectView(ZMRequest request, string requestId) Create a plugin admin redirect view. |
| ZMView | getRedirectViewForId(ZMRequest request, string requestId) Create a configured redirect view. |
| ZMView | processGet(ZMRequest request) {@inheritDoc} |
| void | setPlugin(mixed plugin) Set the plugin. |
| Methods inherited from org.zenmagick.mvc.controller.ZMController | |
|---|---|
| findView, getFormData, getId, getView, isFormSubmit, preProcess, process, processGet, processPost, setContentType, setId, setView, validate, validateFormData, validateSession | |
| Methods inherited from org.zenmagick.core.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMPluginAdminController(string id, string title, mixed plugin)
Create a new instance.
public ZMView getCatalogManagerRedirectView(ZMRequest request, string requestId)
Create a catalog manager redirect view.
public ZMPlugin getPlugin()
Get the plugin.
public ZMView getPluginAdminView(ZMRequest request, string template)
Create a configured admin view.
null to use the controller id.public ZMView getRedirectView(ZMRequest request, string requestId)
Create a plugin admin redirect view.
public ZMView getRedirectViewForId(ZMRequest request, string requestId)
Create a configured redirect view.
public ZMView processGet(ZMRequest request)
ZMView that handles presentation or null if the controller generates the contents itself.public void setPlugin(mixed plugin)
Set the plugin.
ZMPlugin instance or plugin id.
Plugin admin controller base class.
The default implementation will use the
SimplePluginFormViewview to generate a simple plugin config form.