Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/categories/categories_config.php
Show First 20 Lines • Show All 396 Lines • ▼ Show 20 Line(s) | |||||
'FormId' => Array ( | 'FormId' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', 'options' => Array ('' => ''), | 'formatter' => 'kOptionsFormatter', 'options' => Array ('' => ''), | ||||
'options_sql' => 'SELECT Title, FormId FROM '.TABLE_PREFIX.'Forms ORDER BY Title', | 'options_sql' => 'SELECT Title, FormId FROM '.TABLE_PREFIX.'Forms ORDER BY Title', | ||||
'option_key_field' => 'FormId', 'option_title_field' => 'Title', | 'option_key_field' => 'FormId', 'option_title_field' => 'Title', | ||||
'default' => NULL | 'default' => NULL | ||||
), | ), | ||||
'FormSubmittedTemplate' => Array ('type' => 'string', 'default' => null), | 'FormSubmittedTemplate' => Array ('type' => 'string', 'default' => null), | ||||
'FriendlyURL' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), | 'FriendlyURL' => Array ( | ||||
'type' => 'string', | |||||
'unique' => array(), | |||||
'error_msgs' => array('unique' => '!la_error_FriendlyUrlIsNotUnique!'), | |||||
'not_null' => 1, 'default' => '', | |||||
), | |||||
'ThemeId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'ThemeId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'EnablePageCache' => Array ( | 'EnablePageCache' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, | 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, | ||||
'not_null' => 1, 'default' => 0 | 'not_null' => 1, 'default' => 0 | ||||
), | ), | ||||
'OverridePageCacheKey' => Array ( | 'OverridePageCacheKey' => Array ( | ||||
▲ Show 20 Lines • Show All 143 Lines • Show Last 20 Lines |