Created
June 18, 2013 22:19
-
-
Save proofek/5809988 to your computer and use it in GitHub Desktop.
SupplierContactDetailsRelate.php - definition of the relationship on the parent module without middle table (see https://gist.github.com/proofek/5809737 for the field definitions and https://gist.github.com/proofek/5809899 for the child module relationship definition)
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
<?php | |
$dictionary['Demo_Suppliers']['fields']['demo_suppliercontactdetails'] = array( | |
'name' => 'demo_suppliercontactdetails', | |
'type' => 'link', | |
'relationship' => 'demo_suppliers_emis_suppliercontactdetails', | |
'module' => 'Demo_SupplierContactDetails', | |
'bean_name' => 'Demo_SupplierContactDetails', | |
'source' => 'non-db', | |
'vname' => 'LBL_SUPPLIER_CONTACTDETAILS', | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment