\CountryPrice_Translation
Synopsis
class CountryPrice_Translation
extends DataObject
{
- // members
- private static boolean $automatically_create_dummy_translations_for_products_and_productgroups = true;
- private static array $dependencies = ;
- public CountryURLProvider $CountryURLProvider = NULL;
- private static array $db = ;
- private static array $field_labels = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- private static array $casting = ;
- private static string $singular_name = 'Translation';
- private static string $plural_name = 'Translations';
- // methods
- public void i18n_singular_name()
- public void i18n_plural_name()
- public static string get_country_url_provider()
- public FieldList getCMSFields()
- public void canCreate()
- protected void validate()
- public ArrayList FieldsToReplace()
- public string Link()
- public string getLink()
- public void requireDefaultRecords()
Hierarchy
Extends
- DataObject
Members
private
- $automatically_create_dummy_translations_for_products_and_productgroups
- $casting
- $db
- $dependencies
- $field_labels
- $has_one
- $plural_name
—
string
Standard SS variable. - $singular_name
—
string
Standard SS variable. - $summary_fields
public
- $CountryURLProvider
—
CountryURLProvider
automatically populated by the dependency manager.
Methods
protected
- validate() — {@inheritdoc}
public
- FieldsToReplace() — 'PageField' => 'Title' 'TranslationField' => 'Title'
- Link()
- canCreate()
- getCMSFields() — CMS Fields
- getLink()
- get_country_url_provider() — name of the object that provides the country URL
- i18n_plural_name()
- i18n_singular_name()
- requireDefaultRecords()