ZMObject
|
+--ZMView
|
+--ZMForwardView
public class ZMForwardView
extends ZMView
| Fields inherited from org.zenmagick.rp.ZMView | |
|---|---|
| controller_, subdir_, viewId_, view_ | |
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
ZMForwardView(string view) Create a new forward view. |
|
| Method Summary | |
|---|---|
| void | generate() Generate view response. |
| boolean | isValid() Check if this view is valid. |
| Methods inherited from org.zenmagick.rp.ZMView | |
|---|---|
| callView, generate, getContentType, getController, getEncoding, getName, getSubdir, getView, getViewFilename, getViewId, isValid, isViewFunction, setController, setName, setSubdir, setView, setViewId | |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMForwardView(string view)
Create a new forward view.
public void generate()
Generate view response.
Will do the following:
ZMDispatcher::dispatch()public boolean isValid()
Check if this view is valid.
true if the forward url is not empty.
Forward view.
This will forward the request to the given controller without a redirect.