SilverCart\Model\Pages\RegistrationPageController
RegistrationPage Controller class.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class RegistrationPageController
extends PageController
{
- // constants
- const SESSION_KEY_HTTP_REFERER = 'SilverCart.RegistrationPage.HttpReferer';
- // members
- private static array $allowed_actions = ;
- // methods
- protected void init()
- public LoginForm LoginForm()
- public RegisterRegularCustomerForm RegisterRegularCustomerForm()
- public CheckoutStep getCheckoutPage()
- public DBHTMLText|null optin()
- public DBHTMLText|null optinresend()
- public DBHTMLText|null optinfailed()
- public DBHTMLText|null optinpending()
- public DBHTMLText|null welcome()
- public DBHTMLText|null defaultOptInHandling()
- public string RefererLink()
- public SiteTree|null RefererPage()
Hierarchy
Extends
- PageController
Constants
Name | Value |
---|---|
SESSION_KEY_HTTP_REFERER | 'SilverCart.RegistrationPage.HttpReferer' |
Members
private
- $allowed_actions
—
array
List of allowed actions.
Methods
protected
- init() — initialisation of the form object logged in members get logged out
public
- LoginForm() — Returns the LoginForm.
- RefererLink() — Returns the referer link.
- RefererPage() — Returns the referer page.
- RegisterRegularCustomerForm() — Returns the RegisterRegularCustomerForm.
- defaultOptInHandling() — Default opt-in action handling.
- getCheckoutPage() — Returns the checkout page.
- optin() — Action to do the opt-in confirmation.
- optinfailed() — Action for a failed opt-in.
- optinpending() — Action to show the opt-in pending information.
- optinresend() — Action to resend the opt-in confirmation link.
- welcome() — Action to resend the opt-in confirmation link.