Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/promo_blocks/promo_blocks_config.php
Show First 20 Lines • Show All 52 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 71 Lines • ▼ Show 20 Line(s) | |||||
'ScheduleToDate' => Array ('title' => 'la_col_ScheduleToDate', 'filter_block' => 'grid_date_range_filter', 'width' => 120), | 'ScheduleToDate' => Array ('title' => 'la_col_ScheduleToDate', 'filter_block' => 'grid_date_range_filter', 'width' => 120), | ||||
'NumberOfClicks' => Array ('filter_block' => 'grid_range_filter'), | 'NumberOfClicks' => Array ('filter_block' => 'grid_range_filter'), | ||||
'NumberOfViews' => Array ('filter_block' => 'grid_range_filter'), | 'NumberOfViews' => Array ('filter_block' => 'grid_range_filter'), | ||||
'ConversionPercent' => Array ('filter_block' => 'grid_range_filter', 'width' => 80), | 'ConversionPercent' => Array ('filter_block' => 'grid_range_filter', 'width' => 80), | ||||
), | ), | ||||
), | ), | ||||
), | ), | ||||
); | ); | ||||
No newline at end of file | No newline at end of file |