/** To get the link name used to call load_relationship */
 function getLinkName($this_module, $rel_module)
 {
     $GLOBALS['log']->debug("SecurityGroup->getLinkName this_module: {$this_module} rel_module: {$rel_module}");
     include_once 'modules/Relationships/RelationshipHandler.php';
     $rh = new RelationshipHandler($GLOBALS['db'], $this_module);
     $rh->process_by_rel_bean($rel_module);
     $rh->build_info();
     $rh->get_rel1_vardef_field_base($rh->base_bean->field_defs);
     return $rh->rel1_vardef_field_base;
 }
Example #2
0
 /** To get the link name used to call load_relationship */
 function getLinkName($this_module, $rel_module)
 {
     include_once 'modules/Relationships/RelationshipHandler.php';
     $rh = new RelationshipHandler($GLOBALS['db'], $this_module);
     $rh->process_by_rel_bean($rel_module);
     $rh->build_info();
     $rh->get_rel1_vardef_field_base($rh->base_bean->field_defs);
     return $rh->rel1_vardef_field_base;
 }