SilverCart\Model\Pages\CheckoutStep
Checkout step page.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class CheckoutStep
extends Page
{
- // members
- private static array $db = ;
- private static string $table_name = 'SilvercartCheckoutStep';
- private static string $icon = "silvercart/silvercart:client/img/page_icons/checkout_page-file.gif";
- // methods
- public array fieldLabels()
- public string singular_name()
- public string plural_name()
- public FieldList getCMSFields()
- public DBHTMLText getNoPaymentMethodText()
- public DBHTMLText getNoShippingMethodText()
- public DBHTMLText getTermsAndConditionsText()
- public string getDefaultNoPaymentMethodText()
- public string getDefaultNoShippingMethodText()
- public string getDefaultTermsAndConditionsText()
- public string getTitleStep6()
- public string getMetaTitle()
- // Inherited methods from ExtensibleDataObject
- protected void beforeRequireDefaultRecords()
- protected void beforeUpdateCMSActions()
- protected void beforeUpdateFieldLabels()
- protected void beforeUpdateProvidePermissions()
- public array defaultFieldLabels()
- public static void reset_field_labels()
- protected array scaffoldFieldLabels()
Hierarchy
Members
private
- $db
—
array
DB attributes - $icon
—
string
icon for site tree - $table_name
—
string
DB table name
protected
- $defaultFieldLabels
—
array
Default field labels.
Methods
public
- fieldLabels() — Field labels
- getCMSFields() — CMS fields
- getDefaultNoPaymentMethodText() — Returns the default NoPaymentMethodText.
- getDefaultNoShippingMethodText() — Returns the default NoShippingMethodText.
- getDefaultTermsAndConditionsText() — Returns the default TermsAndConditionsText.
- getMetaTitle() — Returns the meta title for the current checkout context.
- getNoPaymentMethodText() — Returns the NoPaymentMethodText.
- getNoShippingMethodText() — Returns the NoShippingMethodText.
- getTermsAndConditionsText() — Returns the terms and condition text.
- getTitleStep6() — Returns the title for the checkout step 6.
- plural_name() — Returns the translated plural name of the object. If no translation exists the class name will be returned.
- singular_name() — Returns the translated singular name of the object. If no translation exists the class name will be returned.
Inherited from SilverCart\ORM\ExtensibleDataObject
protected
- beforeRequireDefaultRecords() — Allows user code to hook into DataObject::requireDefaultRecords() prior to requireDefaultRecords being called on extensions.
- beforeUpdateCMSActions() — Allows user code to hook into DataObject::getCMSActions prior to updateCMSActions being called on extensions.
- beforeUpdateFieldLabels() — Allows user code to hook into DataObject::fieldLabels() prior to updateFieldLabels being called on extensions.
- beforeUpdateProvidePermissions() — Allows user code to hook into DataObject::updateProvidePermissions() prior to providePermissions being called on extensions.
- scaffoldFieldLabels() — Returns the default field labels for this DataObject.
public
- defaultFieldLabels() — Returns the default field labels.
- reset_field_labels() — Resets the field label cache.