Skip to content

Instantly share code, notes, and snippets.

@matthewpoer
Created August 20, 2014 20:01
Show Gist options
  • Save matthewpoer/ce8c850f888367945e33 to your computer and use it in GitHub Desktop.
Save matthewpoer/ce8c850f888367945e33 to your computer and use it in GitHub Desktop.
<?php
$dictionary['Opportunity']['fields']['loc_completed_approved_by_id']['name'] = 'loc_completed_approved_by_id';
$dictionary['Opportunity']['fields']['loc_completed_approved_by_id']['vname'] = 'LBL_COMPLETED_APPROVED_BY_ID';
$dictionary['Opportunity']['fields']['loc_completed_approved_by_id']['type'] = 'id';
$dictionary['Opportunity']['fields']['loc_completed_approved_by']['name'] = 'loc_completed_approved_by';
$dictionary['Opportunity']['fields']['loc_completed_approved_by']['vname'] = 'LBL_COMPLETED_APPROVED_BY';
$dictionary['Opportunity']['fields']['loc_completed_approved_by']['type'] = 'relate';
$dictionary['Opportunity']['fields']['loc_completed_approved_by']['source'] = 'non-db';
$dictionary['Opportunity']['fields']['loc_completed_approved_by']['id_name'] = 'loc_completed_approved_by_id';
$dictionary['Opportunity']['fields']['loc_completed_approved_by']['module'] = 'Contacts';
$dictionary['Opportunity']['fields']['loc_completed_approved_by']['rname'] = 'name';
$dictionary['Opportunity']['fields']['loc_completed_approved_by']['quicksearch'] = 'enabled';
/*
*
'demo_relate_c' =>
array (
'labelValue' => 'Demo Relate',
'full_text_search' =>
array (
'boost' => '0',
'enabled' => false,
),
'dependency' => '',
'required' => false,
'source' => 'non-db',
'name' => 'demo_relate_c',
'vname' => 'LBL_DEMO_RELATE',
'type' => 'relate',
'massupdate' => false,
'default' => NULL,
'no_default' => false,
'comments' => '',
'help' => '',
'importable' => 'true',
'duplicate_merge' => 'disabled',
'duplicate_merge_dom_value' => '0',
'audited' => false,
'reportable' => true,
'unified_search' => false,
'merge_filter' => 'disabled',
'calculated' => false,
'len' => '255',
'size' => '20',
'id_name' => 'contact_id_c',
'ext2' => 'Contacts',
'module' => 'Contacts',
'rname' => 'name',
'quicksearch' => 'enabled',
'studio' => 'visible',
'id' => 'Opportunitiesdemo_relate_c',
'custom_module' => 'Opportunities',
),
'contact_id_c' =>
array (
'required' => false,
'source' => 'custom_fields',
'name' => 'contact_id_c',
'vname' => 'LBL_DEMO_RELATE_CONTACT_ID',
'type' => 'id',
'massupdate' => false,
'default' => NULL,
'no_default' => false,
'comments' => '',
'help' => '',
'importable' => 'true',
'duplicate_merge' => 'disabled',
'duplicate_merge_dom_value' => '0',
'audited' => false,
'reportable' => false,
'unified_search' => false,
'merge_filter' => 'disabled',
'calculated' => false,
'len' => '36',
'size' => '20',
'id' => 'Opportunitiescontact_id_c',
'custom_module' => 'Opportunities',
),
*
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment