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