SilverCart\Model\Pages\RegistrationPage
shows and processes a registration form; configuration of registration mails;
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class RegistrationPage
extends Page
{
- // constants
- const SESSION_KEY = 'SilverCart.RegistrationPage';
- const SESSION_KEY_IS_IN_CHECKOUT = self::SESSION_KEY . '.IsInCheckout;
- // members
- private static string $table_name = 'SilvercartRegistrationPage';
- private static string $icon = "silvercart/silvercart:client/img/page_icons/metanavigation_page-file.gif";
- // methods
- public static bool getIsInCheckout()
- public static void setIsInCheckout()
- public string singular_name()
- public string plural_name()
- public bool ShowMyAccountLink()
- public string BtnLabelGoToShop()
Hierarchy
Extends
- Page
Constants
Name | Value |
---|---|
SESSION_KEY | 'SilverCart.RegistrationPage' |
SESSION_KEY_IS_IN_CHECKOUT | self::SESSION_KEY . '.IsInCheckout |
Members
private
- $icon
—
string
We set a custom icon for this page type here - $table_name
—
string
DB table name
Methods
public
- BtnLabelGoToShop() — Returns the 'got to shop' button label.
- ShowMyAccountLink() — Returns whether to show the my account link or not.
- getIsInCheckout() — Returns whether the customer is in checkout process while going through the registration process.
- plural_name() — Returns the translated plural name.
- setIsInCheckout() — Sets whether the customer is in checkout process while going through the registration process.
- singular_name() — Returns the translated singular name.