Merge pull request #10110 from mattwire/contributor
[civicrm-core.git] / CRM / Grant / DAO / Grant.php
index 63b7395591c3c5da91f4ba3eb319dcdc260882e2..f5a4372a529eeb4c5c34e3340de68abb1aad9f14 100644 (file)
@@ -30,7 +30,7 @@
  *
  * Generated from xml/schema/CRM/Grant/Grant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5b5a9e7de7ef9bec79b0aa543804422c)
+ * (GenCodeChecksum:600fc71093543f1c7b31ad663f2325c6)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
@@ -184,6 +184,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
         ) ,
         'grant_contact_id' => array(
           'name' => 'contact_id',
@@ -198,6 +199,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
           'html' => array(
             'type' => 'EntityRef',
@@ -215,6 +217,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
         ) ,
         'decision_date' => array(
           'name' => 'decision_date',
@@ -229,6 +232,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select Date',
           ) ,
@@ -246,6 +250,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select Date',
           ) ,
@@ -258,6 +263,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select Date',
           ) ,
@@ -275,6 +281,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -292,6 +299,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select',
           ) ,
@@ -318,6 +326,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -334,6 +343,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -355,6 +365,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -370,6 +381,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select',
           ) ,
@@ -395,6 +407,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
           'html' => array(
             'type' => 'TextArea',
           ) ,
@@ -413,6 +426,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select',
           ) ,
@@ -430,6 +444,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
           'table_name' => 'civicrm_grant',
           'entity' => 'Grant',
           'bao' => 'CRM_Grant_BAO_Grant',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Financial_DAO_FinancialType',
           'pseudoconstant' => array(
             'table' => 'civicrm_financial_type',
@@ -492,4 +507,28 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO {
     $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'grant', $prefix, array());
     return $r;
   }
+  /**
+   * Returns the list of indices
+   */
+  public static function indices($localize = TRUE) {
+    $indices = array(
+      'index_grant_type_id' => array(
+        'name' => 'index_grant_type_id',
+        'field' => array(
+          0 => 'grant_type_id',
+        ) ,
+        'localizable' => false,
+        'sig' => 'civicrm_grant::0::grant_type_id',
+      ) ,
+      'index_status_id' => array(
+        'name' => 'index_status_id',
+        'field' => array(
+          0 => 'status_id',
+        ) ,
+        'localizable' => false,
+        'sig' => 'civicrm_grant::0::status_id',
+      ) ,
+    );
+    return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+  }
 }