*
* Generated from xml/schema/CRM/Dedupe/Exception.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5ab409ab490ba266b8cff7ba387624fa)
+ * (GenCodeChecksum:5e9f138ebec5aa2fcfd30120dffacdf5)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'table_name' => 'civicrm_dedupe_exception',
'entity' => 'Exception',
'bao' => 'CRM_Dedupe_DAO_Exception',
+ 'localizable' => 0,
) ,
'contact_id1' => array(
'name' => 'contact_id1',
'table_name' => 'civicrm_dedupe_exception',
'entity' => 'Exception',
'bao' => 'CRM_Dedupe_DAO_Exception',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'contact_id2' => array(
'table_name' => 'civicrm_dedupe_exception',
'entity' => 'Exception',
'bao' => 'CRM_Dedupe_DAO_Exception',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
);
$r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'dedupe_exception', $prefix, array());
return $r;
}
+ /**
+ * Returns the list of indices
+ */
+ public static function indices($localize = TRUE) {
+ $indices = array(
+ 'UI_contact_id1_contact_id2' => array(
+ 'name' => 'UI_contact_id1_contact_id2',
+ 'field' => array(
+ 0 => 'contact_id1',
+ 1 => 'contact_id2',
+ ) ,
+ 'localizable' => false,
+ 'unique' => true,
+ 'sig' => 'civicrm_dedupe_exception::1::contact_id1::contact_id2',
+ ) ,
+ );
+ return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+ }
}