CRM-20312 regenerated DAOS with indexes
[civicrm-core.git] / CRM / Financial / DAO / FinancialType.php
index 57cd5eecc4a06f0f1df3da0f919bb124bc9fdfe7..3be6e3a6cfc9948e1a659842b1146a5422f8c39b 100644 (file)
@@ -30,7 +30,7 @@
  *
  * Generated from xml/schema/CRM/Financial/FinancialType.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:286b2e763395441774d1a91db61da8ca)
+ * (GenCodeChecksum:9d787931917508983d68631821eea721)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
@@ -228,4 +228,21 @@ class CRM_Financial_DAO_FinancialType extends CRM_Core_DAO {
     $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'financial_type', $prefix, array());
     return $r;
   }
+  /**
+   * Returns the list of indices
+   */
+  public static function indices($localize = TRUE) {
+    $indices = array(
+      'UI_id' => array(
+        'name' => 'UI_id',
+        'field' => array(
+          0 => 'id',
+        ) ,
+        'localizable' => false,
+        'unique' => true,
+        'sig' => 'civicrm_financial_type::1::id',
+      ) ,
+    );
+    return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+  }
 }