SilverCart\Model\Customer\DeletedCustomerReasonTranslation
Translations for Country.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2021 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class DeletedCustomerReasonTranslation
extends DataObject
{
- // members
- private static string $table_name = 'Silvercart_DeletedCustomerReasonTranslation';
- private static array $db = ;
- private static array $has_one = ;
- private static array $extensions = ;
- private static array $summary_fields = ;
- // methods
- public string singular_name()
- public string plural_name()
- public array fieldLabels()
- public string getTitle()
- // 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
Attributes. - $extensions
—
array
Extensions. - $has_one
—
array
1:1 or 1:n relationships. - $summary_fields
—
array
Summary fields. - $table_name
—
string
DB table name
protected
- $defaultFieldLabels
—
array
Default field labels.
Methods
public
- fieldLabels() — Field labels for display in tables.
- getTitle() — Returns the title.
- 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.