init
This commit is contained in:
13
custom/Extension/modules/Contacts/Ext/Vardefs/ecmquotes_contacts.php
Executable file
13
custom/Extension/modules/Contacts/Ext/Vardefs/ecmquotes_contacts.php
Executable file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$dictionary['Contact']['fields']['ecmquotes'] = array (
|
||||
'name' => 'ecmquotes',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmquotes_contact',
|
||||
'source' =>'non-db',
|
||||
);
|
||||
$dictionary['Contact']['relationships']['ecmquotes_contact'] = array (
|
||||
'lhs_module' => 'Contacts', 'lhs_table' => 'contacts', 'lhs_key' => 'id',
|
||||
'rhs_module' => 'EcmQuotes', 'rhs_table' => 'ecmquotes', 'rhs_key' => 'contact_id',
|
||||
'relationship_type' => 'one-to-many'
|
||||
);
|
||||
?>
|
||||
Reference in New Issue
Block a user