Merge pull request #11062 from mattwire/CRM-21203_joomla_cli_3_8_0
[civicrm-core.git] / CRM / Price / DAO / PriceField.php
index b16306e42ea20ddead7712c87d902987eadc5ba6..b9af981d7956d603022cf0696f8720b4d5929deb 100644 (file)
@@ -30,7 +30,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3e31ae2c91a74260789a9d76f5508d4f)
+ * (GenCodeChecksum:6ee89c3106c27af4ca96897826a2ef8c)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
@@ -189,6 +189,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
         ) ,
         'price_set_id' => array(
           'name' => 'price_set_id',
@@ -199,6 +200,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Price_DAO_PriceSet',
         ) ,
         'name' => array(
@@ -212,6 +214,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -227,6 +230,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 1,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -241,6 +245,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select',
           ) ,
@@ -256,6 +261,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -270,6 +276,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 1,
           'html' => array(
             'type' => 'TextArea',
           ) ,
@@ -284,6 +291,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 1,
           'html' => array(
             'type' => 'TextArea',
           ) ,
@@ -297,6 +305,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select',
           ) ,
@@ -310,6 +319,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -323,6 +333,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -336,6 +347,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -349,6 +361,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -362,6 +375,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -375,6 +389,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select Date',
           ) ,
@@ -389,6 +404,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -402,6 +418,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'table_name' => 'civicrm_price_field',
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select',
           ) ,
@@ -465,4 +482,20 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
     $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'price_field', $prefix, array());
     return $r;
   }
+  /**
+   * Returns the list of indices
+   */
+  public static function indices($localize = TRUE) {
+    $indices = array(
+      'index_name' => array(
+        'name' => 'index_name',
+        'field' => array(
+          0 => 'name',
+        ) ,
+        'localizable' => false,
+        'sig' => 'civicrm_price_field::0::name',
+      ) ,
+    );
+    return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+  }
 }