SilverCart\Prepayment\Model\PrepaymentTranslation

Translations for the multilingual attributes of Prepayment.

Synopsis

class PrepaymentTranslation extends PaymentMethodTranslation {
  • // members
  • private static array $db = ;
  • private static array $has_one = ;
  • private static string $table_name = 'SilvercartPaymentPrepaymentTranslation';
}

Hierarchy

Extends

  • SilverCart\Model\Payment\PaymentMethodTranslation

Uses

  • SilverCart\ORM\ExtensibleDataObject

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.
  • getCMSFields() — CMS fields for this object
  • 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.