\DMSCheckoutController
Synopsis
class DMSCheckoutController
extends DMSCartAbstractController
{
- // members
- private static array $allowed_actions = ;
- private static array $receiver_info = ;
- // methods
- public void init()
- public void index()
- public Form DMSDocumentRequestForm()
- public mixed send()
- public SS_HTTPResponse doRequestSend()
- public ViewableData complete()
- public void updateCartReceiverInfo()
- protected string getConfirmationBcc()
- // Inherited methods from DMSCartAbstractController
- public string Link()
- public DMSDocumentCart getCart()
- public string getContinueBrowsingLink()
Hierarchy
Extends
Members
private
- $allowed_actions
- $receiver_info
—
array
An array containing the recipients basic information
Methods
protected
- getConfirmationBcc() — If BCC email addresses are configured, return the addresses to send to in comma delimited format
public
- DMSDocumentRequestForm() — Gets and displays a list of items within the cart, as well as a contact form with entry fields for the recipients information.
- complete() — Displays the preconfigured thank you message to the user upon completion
- doRequestSend() — Handles form submission.
- index()
- init()
- send() — Sends an email to both the configured recipient as well as the requester. The configured recipient is bcc'ed to the email in order to fulfill it.
- updateCartReceiverInfo() — Updates the cart receiver info just before the request is sent.
Inherited from DMSCartAbstractController
public
- Link() — Ensure that links for this controller use the customised route.
- getCart() — Retrieves a {@link DMSDocumentCart} instance
- getContinueBrowsingLink() — Controls the `Continue browsing` link found in DMSCartNavigation.ss. Defaults all requests back to home.