SilverCart\Model\Shipment\ZoneTranslation
Translations for a zone.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class ZoneTranslation
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static string $table_name = 'SilvercartZoneTranslation';
- // methods
- public string singular_name()
- public string plural_name()
- public array fieldLabels()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
—
array
DB attributes - $has_one
—
array
has one relations - $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. 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.