ZMObject
└─ZMController
└─ZMCheckoutAddressController
public class ZMCheckoutAddressController
extends ZMController
| Method Summary | |
|---|---|
| void | __construct(string requestId) Create new instance. |
| protected void | checkCart(mixed request) Custom cart checker |
| void | preProcess(ZMRequest request) {@inheritDoc} |
| ZMView | processGet(ZMRequest request) {@inheritDoc} |
| ZMView | processPost(ZMRequest request) {@inheritDoc} |
| void | setMode(string mode) Set mode. |
| protected ZMView | validateFormData(ZMRequest request, mixed formBean, mixed formData) {@inheritDoc} |
| 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(string requestId)
Create new instance.
null to use the request id.protected void checkCart(mixed request)
Custom cart checker
public void preProcess(ZMRequest request)
Convenience method for request processing shared by request methods.
Despite the name this is called as part of the controllers process($request) method.
That ensures that all processing is within the boundaries of a single transaction (if enabled).
public ZMView processGet(ZMRequest request)
Process a HTTP GET request.
ZMView that handles presentation or null if the controller generates the contents itself.public ZMView processPost(ZMRequest request)
Process a HTTP POST request.
ZMView that handles presentation or null if the controller generates the contents itself.public void setMode(string mode)
Set mode.
protected ZMView validateFormData(ZMRequest request, mixed formBean, mixed formData)
Validate the given form bean.
null for success.
Request controller for checkout address change (shipping/billing).