Created
November 28, 2016 17:29
-
-
Save eresende/ae3b679269481118fa95171269acd924 to your computer and use it in GitHub Desktop.
SuiteCRM and SecurityGroups - Custom Modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$dictionary["custom_module_securitygroups"] = array( | |
'true_relationship_type' => 'many-to-many', | |
'relationships' => | |
array( | |
'custom_module_securitygroups' => | |
array( | |
'lhs_module' => 'SecurityGroups', | |
'lhs_table' => 'securitygroups', | |
'lhs_key' => 'id', | |
'rhs_module' => 'custom_Module', | |
'rhs_table' => 'custom_module', | |
'rhs_key' => 'id', | |
'join_table' => 'securitygroups_records', | |
'join_key_lhs' => 'securitygroup_id', | |
'join_key_rhs' => 'record_id', | |
'relationship_type' => 'many-to-many', | |
'relationship_role_column' => 'module', | |
'relationship_role_column_value' => 'custom_Module', | |
), | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment