SilverCart\Model\Pages\AddressHolderController
AddressHolder Controller Class;
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class AddressHolderController
extends MyAccountHolderController
{
- // members
- private static array $allowed_actions = ;
- protected integer $addressID = 0;
- // methods
- public AddAddressForm AddAddressForm()
- public EditAddressForm|null EditAddressForm()
- public Address|null getAddress()
- public DBHTMLText addNewAddress()
- public void deleteAddress()
- public int getAddressID()
- public void setAddressID()
- public HTTPResponse setInvoiceAddress()
- public HTTPResponse setShippingAddress()
- // Inherited methods from MyAccountHolderController
- protected void init()
- public DBHTMLText getSubNavigation()
- public string OrderDetailLink()
- public LoginForm LoginForm()
Hierarchy
Members
private
- $allowed_actions
—
array
List of allowed actions
protected
- $addressID
—
int
ID of the requested address
Methods
public
- AddAddressForm() — Returns the AddAddressForm.
- EditAddressForm() — Returns the EditAddressForm.
- addNewAddress() — Action to add a new address.
- deleteAddress() — Action to delete an address. Checks, whether the given address is related to the logged in customer and deletes it.
- getAddress() — Returns the address matching with the request data.
- getAddressID() — returns the id of the address requested by the Action.
- setAddressID() — sets the id of the address requested by the Action.
- setInvoiceAddress() — Action to set an address as invoice address.
- setShippingAddress() — Action to set an address as shipping address.
Inherited from SilverCart\Model\Pages\MyAccountHolderController
protected
- init() — statements to be called on object initialisation
public
- LoginForm() — Returns the LoginForm.
- OrderDetailLink() — returns the link to the order detail page (without orderID)