+ /**
+ * Returns the list of indices
+ */
+ public static function indices($localize = TRUE) {
+ $indices = array(
+ 'UI_name' => array(
+ 'name' => 'UI_name',
+ 'field' => array(
+ 0 => 'name',
+ ) ,
+ 'localizable' => false,
+ 'unique' => true,
+ 'sig' => 'civicrm_batch::1::name',
+ ) ,
+ );
+ return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+ }