Created
July 6, 2015 08:02
-
-
Save avtaniket/abf6e95300dde9e4f143 to your computer and use it in GitHub Desktop.
Sugar 7 : Customize the Relationship’s Behavior
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["Account"]["fields"]["accounts_ost__tickets_1"] = array ( | |
'name' => 'accounts_ost__tickets_1', | |
'type' => 'link', | |
// 'relationship' => 'accounts_ost__tickets_1', | |
'source' => 'non-db', | |
'module' => 'OST__Tickets', | |
'bean_name' => 'OST__Tickets', | |
'vname' => 'LBL_ACCOUNTS_OST__TICKETS_1_FROM_OST__TICKETS_TITLE', | |
'id_name' => 'accounts_ost__tickets_1ost__tickets_idb', | |
'link_file' => "custom/modules/Accounts/OSTicketsForAccountsLink.php", | |
'link_class' => "OSTicketsForAccountsLink", | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment