Changeset View
Changeset View
Standalone View
Standalone View
core/units/promo_blocks/promo_blocks_config.php
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | |||||
'Sorting' => Array ('Priority' => 'desc'), | 'Sorting' => Array ('Priority' => 'desc'), | ||||
) | ) | ||||
), | ), | ||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'BlockId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'BlockId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'PromoBlockGroupId' => Array ( | 'PromoBlockGroupId' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', | |||||
'options_sql' => 'SELECT %s FROM ' . TABLE_PREFIX . 'PromoBlockGroups ORDER BY Title', 'option_title_field' => 'Title', 'option_key_field' => 'PromoBlockGroupId', | 'options_sql' => 'SELECT %s FROM ' . TABLE_PREFIX . 'PromoBlockGroups ORDER BY Title', 'option_title_field' => 'Title', 'option_key_field' => 'PromoBlockGroupId', | ||||
'not_null' => 1, 'required' => 1, 'default' => 0, | 'not_null' => 1, 'required' => 1, 'default' => 0, | ||||
), | ), | ||||
'Title' => Array ( | 'Title' => Array ( | ||||
'type' => 'string', 'max_len' => 50, | 'type' => 'string', 'max_len' => 50, | ||||
'formatter' => 'kMultiLanguage', 'db_type' => 'varchar(50)', 'not_null' => 1, 'required' => 1, 'default' => '', | 'formatter' => 'kMultiLanguage', 'db_type' => 'varchar(50)', 'not_null' => 1, 'required' => 1, 'default' => '', | ||||
), | ), | ||||
'ButtonText' => Array ( | 'ButtonText' => Array ( | ||||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |