SilverCart\Model\Pages\OrderHolderController
OrderHolder Controller class.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class OrderHolderController
extends MyAccountHolderController
{
- // members
- protected integer $orderID = 0;
- private static array $allowed_actions = ;
- // methods
- public HTTPResponse detail()
- public HTTPResponse placeorder()
- public HTTPResponse placeorder_full()
- public HTTPResponse placeorderposition()
- protected void doPlaceOrder()
- protected HTTPResponse|null handleOrderDetailAction()
- public Order|null CustomersOrder()
- public int getOrderID()
- public $this setOrderID()
- public string OrderHolderLink()
- public OrderInvoiceAddress|null getInvoiceAddress()
- public OrderShippingAddress|null getShippingAddress()
- // Inherited methods from MyAccountHolderController
- protected void init()
- public DBHTMLText getSubNavigation()
- public string OrderDetailLink()
- public LoginForm LoginForm()
Hierarchy
Members
private
- $allowed_actions
—
array
Allowed actions
protected
- $orderID
—
int
ID of the requested order
Methods
protected
- doPlaceOrder() — Places the current order context positions into the shopping cart.
- handleOrderDetailAction() — Handles an order detail response.
public
- CustomersOrder() — returns a single order of a logged in member identified by url param id
- OrderHolderLink() — Returns the link to the OrderHolderPage.
- detail() — Action to show an orders details.
- getInvoiceAddress() — Returns the invoice address of the customers order
- getOrderID() — returns the id of the order requested by the Action.
- getShippingAddress() — Returns the shipping address of the customers order
- placeorder() — Action to re-order.
- placeorder_full() — Action to re-order with an already filled checkout.
- placeorderposition() — Action to re-order a single position.
- setOrderID() — sets the id of the order requested by the Action.
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)