ZMObject
└─ZMController
└─ZMPluginAdmin2Controller
public class ZMPluginAdmin2Controller
extends ZMController
| Method Summary | |
|---|---|
| void | __construct(mixed plugin, string requestId) Create a new instance. |
| ZMPlugin | Get the plugin. |
| array | getViewData(ZMRequest request) {@inheritDoc} |
| void | setPlugin(mixed plugin) Set the plugin. |
| Methods inherited from org.zenmagick.mvc.controller\ZMController | |
|---|---|
| __construct, findView, getFormData, getId, getView, getViewData, isAjax, isFormSubmit, preProcess, process, processGet, processPost, setContentType, setId, setView, validate, validateFormData, validateSession | |
| Methods inherited from org.zenmagick.core\ZMObject | |
|---|---|
| __construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton | |
public void __construct(mixed plugin, string requestId)
Create a new instance.
public ZMPlugin getPlugin()
Get the plugin.
public array getViewData(ZMRequest request)
Get general page data.
Good to override if a custom controller needs to provide some data for both GET and POST requests.
public void setPlugin(mixed plugin)
Set the plugin.
ZMPlugin instance or plugin id.
Plugin admin controller base class.