SilverCart\Model\Payment\PaymentMethodTranslation
Translations for the class PaymentMethod This has no relation to PaymentMethod and is not decorated by the TranslationExtension like the other language classes because it has to be extended by the language class of a payment module
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class PaymentMethodTranslation
extends DataObject
{
- // members
- private static array $db = ;
- private static string $table_name = 'SilvercartPaymentMethodTranslation';
- // methods
- public string singular_name()
- public string plural_name()
- public array fieldLabels()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
—
array
Attributes. - $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.