ZMObject
|
+--ZMPluginPageController
public class ZMPluginPageController
extends ZMObject
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
ZMPluginPageController(string id, string title, string plugin, string ext) Create a new instance. |
|
| Method Summary | |
|---|---|
| string | getId() Get the id. |
| protected string | getPageContents(array context, string viewDir) Evaluate template and return contents. |
| protected ZMPlugin | Get the plugin. |
| ZMPluginPage | process() Process a HTTP request. |
| ZMPluginPage | Process a HTTP GET request. |
| ZMPluginPage | Process a HTTP POST request. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMPluginPageController(string id, string title, string plugin, string ext)
Create a new instance.
public string getId()
Get the id.
protected string getPageContents(array context, string viewDir)
Evaluate template and return contents.
protected ZMPlugin getPlugin()
Get the plugin.
public ZMPluginPage process()
Process a HTTP request.
Supported request methods are GET and POST.
ZMPluginPage instance or null.public ZMPluginPage processGet()
Process a HTTP GET request.
ZMPluginPage that handles presentation or null
* if the controller generates the contents itself.public ZMPluginPage processPost()
Process a HTTP POST request.
ZMPluginPage that handles presentation or null
* if the controller generates the contents itself.
Plugin page controller base class.