API/DAO Metadata - Retain versioning metadata for possible usage in runtime+tooling
[civicrm-core.git] / CRM / Price / DAO / PriceField.php
index 56dc69ac28974cefb4e3012a4e1ab9f1d0cb9eed..babe80632895216759756c1e8c821cb9e347172b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Price/PriceField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:88307b88d5be27887068a778e663b0a2)
+ * (GenCodeChecksum:7e0a818f8b8641ca3bae0abe1582c8ce)
  */
 
 /**
@@ -153,6 +153,13 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
     parent::__construct();
   }
 
+  /**
+   * Returns localized title of this entity.
+   */
+  public static function getEntityTitle() {
+    return ts('Price Fields');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
@@ -187,6 +194,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'entity' => 'PriceField',
           'bao' => 'CRM_Price_BAO_PriceField',
           'localizable' => 0,
+          'add' => '1.8',
         ],
         'price_set_id' => [
           'name' => 'price_set_id',
@@ -204,7 +212,9 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
             'table' => 'civicrm_price_set',
             'keyColumn' => 'id',
             'labelColumn' => 'title',
+            'nameColumn' => 'name',
           ],
+          'add' => '1.8',
         ],
         'name' => [
           'name' => 'name',
@@ -222,6 +232,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'label' => [
           'name' => 'label',
@@ -239,6 +250,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'html_type' => [
           'name' => 'html_type',
@@ -258,6 +270,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'pseudoconstant' => [
             'callback' => 'CRM_Price_BAO_PriceField::htmlTypes',
           ],
+          'add' => '1.8',
         ],
         'is_enter_qty' => [
           'name' => 'is_enter_qty',
@@ -273,6 +286,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.8',
         ],
         'help_pre' => [
           'name' => 'help_pre',
@@ -289,6 +303,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.8',
         ],
         'help_post' => [
           'name' => 'help_post',
@@ -305,6 +320,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'TextArea',
           ],
+          'add' => '1.8',
         ],
         'weight' => [
           'name' => 'weight',
@@ -320,6 +336,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'Select',
           ],
+          'add' => '1.8',
         ],
         'is_display_amounts' => [
           'name' => 'is_display_amounts',
@@ -335,6 +352,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => NULL,
         ],
         'options_per_line' => [
           'name' => 'options_per_line',
@@ -350,6 +368,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'is_active' => [
           'name' => 'is_active',
@@ -365,6 +384,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.8',
         ],
         'is_required' => [
           'name' => 'is_required',
@@ -380,6 +400,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'CheckBox',
           ],
+          'add' => '1.8',
         ],
         'active_on' => [
           'name' => 'active_on',
@@ -396,6 +417,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.8',
         ],
         'expire_on' => [
           'name' => 'expire_on',
@@ -412,6 +434,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
             'type' => 'Select Date',
             'formatType' => 'activityDateTime',
           ],
+          'add' => '1.8',
         ],
         'javascript' => [
           'name' => 'javascript',
@@ -428,6 +451,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
           'html' => [
             'type' => 'Text',
           ],
+          'add' => '1.8',
         ],
         'visibility_id' => [
           'name' => 'visibility_id',
@@ -447,6 +471,7 @@ class CRM_Price_DAO_PriceField extends CRM_Core_DAO {
             'optionGroupName' => 'visibility',
             'optionEditPath' => 'civicrm/admin/options/visibility',
           ],
+          'add' => '3.2',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);