Skip to content

Instantly share code, notes, and snippets.

@smalyshev
Created February 2, 2011 01:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smalyshev/807109 to your computer and use it in GitHub Desktop.
Save smalyshev/807109 to your computer and use it in GitHub Desktop.
<?php
'links' => array(
'accounts' => array('relationship' => 'accounts_contacts', 'module' => 'Accounts', 'type' => '1'),
'assigned_user' => array('relationship' => 'contacts_assigned_users', 'module' => 'Users', 'type' => '1'),
'reports_to_link' => array('relationship' => 'contact_direct_reports', 'module' => 'Contacts', 'type' => '1'),
'direct_reports' => array('relationship' => 'contact_direct_reports', 'module' => 'Contacts', 'type' => '*'),
'opportunities' => array('relationship' => 'contacts_opportunties', 'module' => 'Opportunities', 'type' => '*')
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment