*
* Generated from xml/schema/CRM/Contact/GroupOrganization.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:eb0d4093ec10c1851421ec66f88862f7)
+ * (GenCodeChecksum:8fcd7c11b9077c52f8d932eb20379618)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
$r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'group_organization', $prefix, array());
return $r;
}
+ /**
+ * Returns the list of indices
+ */
+ public static function indices($localize = TRUE) {
+ $indices = array(
+ 'UI_group_organization' => array(
+ 'name' => 'UI_group_organization',
+ 'field' => array(
+ 0 => 'group_id',
+ 1 => 'organization_id',
+ ) ,
+ 'localizable' => false,
+ 'unique' => true,
+ 'sig' => 'civicrm_group_organization::1::group_id::organization_id',
+ ) ,
+ );
+ return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+ }
}