Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/relationship/relationship_config.php
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | |||||
4 => 'event', | 4 => 'event', | ||||
), | ), | ||||
'IDField' => 'RelationshipId', | 'IDField' => 'RelationshipId', | ||||
'StatusField' => Array ('Enabled', 'Type'), | 'StatusField' => Array ('Enabled', 'Type'), | ||||
'TableName' => TABLE_PREFIX.'CatalogRelationships', | 'TableName' => TABLE_PREFIX.'CatalogRelationships', | ||||
'ParentTableKey'=> 'ResourceId', | 'ParentTableKey'=> 'ResourceId', | ||||
'ForeignKey' => 'SourceId', | 'ForeignKey' => 'SourceId', | ||||
'ParentPrefix' => 'p', | // 'ParentPrefix' => 'p', | ||||
'AutoDelete' => true, | 'AutoDelete' => true, | ||||
'AutoClone' => true, | 'AutoClone' => true, | ||||
'CalculatedFields' => Array ( | 'CalculatedFields' => Array ( | ||||
'' => Array ( | '' => Array ( | ||||
'ItemName' => 'TRIM(CONCAT(#ITEM_NAMES#))', | 'ItemName' => 'TRIM(CONCAT(#ITEM_NAMES#))', | ||||
'ItemType' => '#ITEM_TYPES#', | 'ItemType' => '#ITEM_TYPES#', | ||||
), | ), | ||||
▲ Show 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | |||||
'RelationshipId' => Array ('title' => 'column:la_fld_Id', 'filter_block' => 'grid_range_filter', 'width' => 50, ), | 'RelationshipId' => Array ('title' => 'column:la_fld_Id', 'filter_block' => 'grid_range_filter', 'width' => 50, ), | ||||
'ItemName' => Array ( 'title' => 'column:la_fld_TargetId', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_like_filter', 'width' => 200, ), | 'ItemName' => Array ( 'title' => 'column:la_fld_TargetId', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_like_filter', 'width' => 200, ), | ||||
'ItemType' => Array ( 'title' => 'la_col_TargetType', 'filter_block' => 'grid_like_filter', 'width' => 80, ), | 'ItemType' => Array ( 'title' => 'la_col_TargetType', 'filter_block' => 'grid_like_filter', 'width' => 80, ), | ||||
'Type' => Array ( 'title' => 'column:la_fld_RelationshipType', 'filter_block' => 'grid_options_filter', 'width' => 80, ), | 'Type' => Array ( 'title' => 'column:la_fld_RelationshipType', 'filter_block' => 'grid_options_filter', 'width' => 80, ), | ||||
'Enabled' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | 'Enabled' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | ||||
), | ), | ||||
), | ), | ||||
), | ), | ||||
); | ); | ||||
No newline at end of file |