Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/categories/categories_config.php
Show First 20 Lines • Show All 332 Lines • ▼ Show 20 Line(s) | |||||
'EditorsPick' => Array ( | 'EditorsPick' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', | 'formatter' => 'kOptionsFormatter', | ||||
'options' => Array (0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, | 'options' => Array (0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, | ||||
'default' => 0, 'not_null' => 1, | 'default' => 0, 'not_null' => 1, | ||||
), | ), | ||||
'Status' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Active', 2 => 'la_Pending', 0 => 'la_Disabled' ), 'use_phrases' => 1, 'not_null' => 1,'default' => 1), | 'Status' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Active', 2 => 'la_Pending', 0 => 'la_Disabled' ), 'use_phrases' => 1, 'not_null' => 1,'default' => 1), | ||||
'Priority' => Array ('type' => 'int', 'not_null' => 1, 'formatter' => 'kOptionsFormatter', 'options' => Array (), 'default' => 0), | 'Priority' => Array ('type' => 'int', 'not_null' => 1, 'formatter' => 'kOptionsFormatter', 'options' => Array (), 'default' => 0), | ||||
'MetaKeywords' => Array ('type' => 'string', 'formatter' => 'kFormatter', 'using_fck' => 1, 'default' => null), | 'MetaKeywords' => Array ('type' => 'string', 'default' => null), | ||||
'CachedDescendantCatsQty' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'CachedDescendantCatsQty' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'CachedNavbar' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'default' => null), | 'CachedNavbar' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'default' => null), | ||||
'CreatedById' => Array ('type' => 'int', 'formatter' => 'kLEFTFormatter', 'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), 'options' => Array (USER_ROOT => 'root', USER_GUEST => 'Guest'),'left_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Users WHERE %s', 'left_key_field' => 'PortalUserId', 'left_title_field' => USER_TITLE_FIELD, 'default' => NULL), | 'CreatedById' => Array ('type' => 'int', 'formatter' => 'kLEFTFormatter', 'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), 'options' => Array (USER_ROOT => 'root', USER_GUEST => 'Guest'),'left_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Users WHERE %s', 'left_key_field' => 'PortalUserId', 'left_title_field' => USER_TITLE_FIELD, 'default' => NULL), | ||||
'ResourceId' => Array ('type' => 'int', 'default' => null), | 'ResourceId' => Array ('type' => 'int', 'default' => null), | ||||
'ParentPath' => Array ('type' => 'string', 'default' => null), | 'ParentPath' => Array ('type' => 'string', 'default' => null), | ||||
'TreeLeft' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'TreeLeft' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'TreeRight' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'TreeRight' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'NamedParentPath' => Array ('type' => 'string', 'default' => null), | 'NamedParentPath' => Array ('type' => 'string', 'default' => null), | ||||
'NamedParentPathHash' => Array ('type' => 'string', 'not_null' => 1, 'default' => 0), | 'NamedParentPathHash' => Array ('type' => 'string', 'not_null' => 1, 'default' => 0), | ||||
'MetaDescription' => Array ('type' => 'string', 'formatter' => 'kFormatter', 'using_fck' => 1, 'default' => null), | 'MetaDescription' => Array ('type' => 'string', 'default' => null), | ||||
'HotItem' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2), | 'HotItem' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2), | ||||
'NewItem' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2), | 'NewItem' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2), | ||||
'PopItem' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2), | 'PopItem' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2), | ||||
'Modified' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'), | 'Modified' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'), | ||||
'ModifiedById' => Array ('type' => 'int', 'formatter' => 'kLEFTFormatter', 'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), 'options' => Array (USER_ROOT => 'root', USER_GUEST => 'Guest'),'left_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Users WHERE %s', 'left_key_field' => 'PortalUserId', 'left_title_field' => USER_TITLE_FIELD, 'default' => NULL), | 'ModifiedById' => Array ('type' => 'int', 'formatter' => 'kLEFTFormatter', 'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), 'options' => Array (USER_ROOT => 'root', USER_GUEST => 'Guest'),'left_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Users WHERE %s', 'left_key_field' => 'PortalUserId', 'left_title_field' => USER_TITLE_FIELD, 'default' => NULL), | ||||
'CachedTemplate' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), | 'CachedTemplate' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), | ||||
'CachedTemplateHash' => Array ('type' => 'string', 'not_null' => 1, 'default' => 0), | 'CachedTemplateHash' => Array ('type' => 'string', 'not_null' => 1, 'default' => 0), | ||||
Show All 26 Lines | |||||
'formatter' => 'kOptionsFormatter', | 'formatter' => 'kOptionsFormatter', | ||||
'options' => Array (0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, | 'options' => Array (0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, | ||||
'not_null' => 1, 'default' => 0, | 'not_null' => 1, 'default' => 0, | ||||
), | ), | ||||
'MenuIconUrl' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), | 'MenuIconUrl' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), | ||||
'Title' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'default' => '', 'not_null'=>1), | 'Title' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'default' => '', 'not_null'=>1), | ||||
'MenuTitle' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'not_null' => 1, 'default' => ''), | 'MenuTitle' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'not_null' => 1, 'default' => ''), | ||||
'MetaTitle' => Array ('type' => 'string', 'default' => null), | 'MetaTitle' => Array ('type' => 'string', 'default' => null), | ||||
'IndexTools' => Array ('type' => 'string', 'formatter' => 'kFormatter', 'using_fck' => 1, 'default' => null), | 'IndexTools' => Array ('type' => 'string', 'default' => null), | ||||
'IsMenu' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Show', 0 => 'la_Hide'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 1), | 'IsMenu' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Show', 0 => 'la_Hide'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 1), | ||||
'Protected' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0), | 'Protected' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0), | ||||
'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 | ||||
▲ Show 20 Lines • Show All 154 Lines • Show Last 20 Lines |