ZenMagick 0.9.6


org.zenmagick.rp.uip.controller.ZMCheckoutAddressController

Class ZMCheckoutAddressController

ZMObject
|
+--ZMController
|
+--ZMCheckoutAddressController

public class ZMCheckoutAddressController
extends ZMController

Request controller for checkout address change (shipping/billing).

Author:
DerManoMann
Version:
$Id: ZMCheckoutAddressController.php 2197 2009-05-04 03:44:37Z dermanomann $

Constructor Summary

ZMCheckoutAddressController()

Create new instance.

Method Summary
void

handleRequest()

{@inheritDoc} /

ZMView

process()

{@inheritDoc} /

ZMView

processPost()

{@inheritDoc} /

void

setMode(string mode)

Set mode.

protected ZMView

validateFormBean(mixed formBean)

{@inheritDoc} /

Methods inherited from org.zenmagick.rp.ZMController
exportGlobal, findView, getFormBean, getGlobal, getGlobals, getId, getView, handleRequest, isFormSubmit, process, processGet, processPost, setContentType, setId, setView, validate, validateFormBean
Methods inherited from org.zenmagick.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

ZMCheckoutAddressController

public ZMCheckoutAddressController()

Create new instance. /


Method Detail

handleRequest

public void handleRequest()

/


process

public ZMView process()

/

Returns:
A ZMView instance or null.

processPost

public ZMView processPost()

/

Returns:
A ZMView that handles presentation or null * if the controller generates the contents itself.

setMode

public void setMode(string mode)

Set mode.

Parameters:
mode - Either shipping or billing; other values will be ignored.

validateFormBean

protected ZMView validateFormBean(mixed formBean)

/

Parameters:
formBean - An object.
Returns:
Either the error view (in case of validation errors), or null for success.

ZenMagick 0.9.6