SilverCart\Model\Widgets\NewProductsWidgetTranslation
Translation object of NewProductsWidget.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2018 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class NewProductsWidgetTranslation
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static string $table_name = 'SilvercartNewProductsWidgetTranslation';
- // methods
- public string singular_name()
- public string plural_name()
- public array fieldLabels()
- public array summaryFields()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
—
array
DB attributes. - $has_one
—
array
1:1 or 1:n relationships. - $table_name
—
string
DB table name
Methods
public
- fieldLabels() — Field labels for display in tables.
- plural_name() — Returns the translated plural name of the object.
- singular_name() — Returns the translated singular name of the object.
- summaryFields() — Summary fields