Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/phrases/phrases_config.php
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Line(s) | |||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'PhraseId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'PhraseId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'Phrase' => Array ( | 'Phrase' => Array ( | ||||
'type' => 'string', | 'type' => 'string', | ||||
'formatter' => 'kFormatter', 'regexp' => '/^(la|lu|lc)_[A-Z\d:_\-\.]+$/i', 'unique' => Array (), | 'formatter' => 'kFormatter', 'regexp' => '/^(la|lu|lc)_[A-Z\d:_\-\.]+$/i', 'unique' => Array (), | ||||
'not_null' => 1, 'required' => 1, 'default' => '', | 'not_null' => 1, 'required' => 1, 'default' => '', | ||||
), | ), | ||||
'PhraseKey' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), | 'PhraseKey' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), | ||||
'Translation' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'required' => 1, 'using_fck' => 1, 'default' => NULL, 'db_type' => 'text'), | 'Translation' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'required' => 1, 'default' => NULL, 'db_type' => 'text'), | ||||
'HintTranslation' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'using_fck' => 1, 'default' => NULL, 'db_type' => 'text'), | 'HintTranslation' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'default' => NULL, 'db_type' => 'text'), | ||||
'ColumnTranslation' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'using_fck' => 1, 'default' => NULL, 'db_type' => 'text'), | 'ColumnTranslation' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'default' => NULL, 'db_type' => 'text'), | ||||
'PhraseType' => Array ( | 'PhraseType' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', 'options' => Array (0 => 'la_PhraseType_Front', 1 => 'la_PhraseType_Admin', 2 => 'la_PhraseType_Both'), 'use_phrases' => 1, | 'formatter' => 'kOptionsFormatter', 'options' => Array (0 => 'la_PhraseType_Front', 1 => 'la_PhraseType_Admin', 2 => 'la_PhraseType_Both'), 'use_phrases' => 1, | ||||
'not_null' => 1, 'required' => 1, 'default' => Language::PHRASE_TYPE_COMMON, | 'not_null' => 1, 'required' => 1, 'default' => Language::PHRASE_TYPE_COMMON, | ||||
), | ), | ||||
'LastChanged' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => NULL), | 'LastChanged' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => NULL), | ||||
'LastChangeIP' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), | 'LastChangeIP' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), | ||||
'Module' => Array ( | 'Module' => Array ( | ||||
▲ Show 20 Lines • Show All 88 Lines • Show Last 20 Lines |