Skip to content

Commit

Permalink
Merge pull request #24979 from eileenmcnaughton/dao
Browse files Browse the repository at this point in the history
Regen DAO
  • Loading branch information
seamuslee001 authored Nov 16, 2022
2 parents e59cce0 + 4e6905c commit be3b309
Show file tree
Hide file tree
Showing 54 changed files with 229 additions and 62 deletions.
3 changes: 2 additions & 1 deletion CRM/ACL/DAO/ACL.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/ACL/ACL.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:0a22cb3cf4b7afd9d14928b0ace4f685)
* (GenCodeChecksum:0a9aa9a0e10b02045039a404518261e2)
*/

/**
Expand Down Expand Up @@ -333,6 +333,7 @@ public static function &fields() {
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '1.6',
],
Expand Down
6 changes: 5 additions & 1 deletion CRM/ACL/DAO/ACLEntityRole.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/ACL/ACLEntityRole.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:01f4f5840cb225eaf6af724beae92056)
* (GenCodeChecksum:0003d41a7094d44c70b9879d954f8317)
*/

/**
Expand Down Expand Up @@ -193,6 +193,10 @@ public static function &fields() {
'entity' => 'ACLEntityRole',
'bao' => 'CRM_ACL_BAO_ACLEntityRole',
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '1.6',
],
];
Expand Down
3 changes: 2 additions & 1 deletion CRM/Campaign/DAO/Campaign.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Campaign/Campaign.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:177e90ca0a120079f9c24a612a0105ad)
* (GenCodeChecksum:99376d5b37f09370bab36f3a3cd37e0a)
*/

/**
Expand Down Expand Up @@ -473,6 +473,7 @@ public static function &fields() {
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '3.3',
],
Expand Down
6 changes: 5 additions & 1 deletion CRM/Campaign/DAO/Survey.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Campaign/Survey.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:a1ef28075a016cc4640a3d5090b13f34)
* (GenCodeChecksum:cd7969864bf6bd9c0556ebbf45699e1d)
*/

/**
Expand Down Expand Up @@ -436,6 +436,10 @@ public static function &fields() {
'entity' => 'Survey',
'bao' => 'CRM_Campaign_BAO_Survey',
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '3.3',
],
'is_default' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Case/DAO/CaseType.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Case/CaseType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:37c56727b3c487cfa8d4c7aea9dd74bd)
* (GenCodeChecksum:7279e18d6b15739dbcf3e65dfec6cc59)
*/

/**
Expand Down Expand Up @@ -213,6 +213,7 @@ public static function &fields() {
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '4.5',
],
Expand Down
6 changes: 5 additions & 1 deletion CRM/Contact/DAO/ContactType.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/ContactType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:9858d69cd4bfdc5a3ce45c77eecd1145)
* (GenCodeChecksum:6ac1343e8af16b17a161fda746457d93)
*/

/**
Expand Down Expand Up @@ -292,6 +292,10 @@ public static function &fields() {
'entity' => 'ContactType',
'bao' => 'CRM_Contact_BAO_ContactType',
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '3.1',
],
'is_reserved' => [
Expand Down
6 changes: 5 additions & 1 deletion CRM/Contact/DAO/DashboardContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/DashboardContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:bc5a3583e578fe1763a5d84f53d9eeb2)
* (GenCodeChecksum:894de8329339be619c21486df2d12bb6)
*/

/**
Expand Down Expand Up @@ -201,6 +201,10 @@ public static function &fields() {
'entity' => 'DashboardContact',
'bao' => 'CRM_Contact_BAO_DashboardContact',
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '3.1',
],
'weight' => [
Expand Down
10 changes: 7 additions & 3 deletions CRM/Contact/DAO/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/Group.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:dce2e006de620411cc951a09c3bb2af0)
* (GenCodeChecksum:80ec0ea67f3be1f20d4e054d35c3e465)
*/

/**
Expand Down Expand Up @@ -111,7 +111,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
public $saved_search_id;

/**
* Is this entry active?
* Is this group active?
*
* @var bool|string
* (SQL type: tinyint)
Expand Down Expand Up @@ -394,14 +394,18 @@ public static function &fields() {
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Group Enabled'),
'description' => ts('Is this entry active?'),
'description' => ts('Is this group active?'),
'required' => TRUE,
'where' => 'civicrm_group.is_active',
'default' => '1',
'table_name' => 'civicrm_group',
'entity' => 'Group',
'bao' => 'CRM_Contact_BAO_Group',
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '1.1',
],
'visibility' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Contact/DAO/Relationship.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/Relationship.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:337542bdfe9cbc0452666705b8078e8b)
* (GenCodeChecksum:53d602cd851fdc4afcfa9f2301e20baa)
*/

/**
Expand Down Expand Up @@ -331,6 +331,7 @@ public static function &fields() {
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '1.1',
],
Expand Down
3 changes: 2 additions & 1 deletion CRM/Contact/DAO/RelationshipCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/RelationshipCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:3f113a0869fa2a649d0e6044a8e59572)
* (GenCodeChecksum:9f16f118d8f9337260a05d6ccd374b94)
*/

/**
Expand Down Expand Up @@ -369,6 +369,7 @@ public static function &fields() {
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'readonly' => TRUE,
'add' => '5.29',
Expand Down
3 changes: 2 additions & 1 deletion CRM/Contact/DAO/RelationshipType.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/RelationshipType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:48b28ea10ac682ddbd880197d7555e9f)
* (GenCodeChecksum:680a2fbbd44fcd6debcfc48b61e1a8fa)
*/

/**
Expand Down Expand Up @@ -395,6 +395,7 @@ public static function &fields() {
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '1.1',
],
Expand Down
10 changes: 7 additions & 3 deletions CRM/Contribute/DAO/ContributionPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contribute/ContributionPage.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:fb3ee613fb452993c05d137ac9b236d1)
* (GenCodeChecksum:6dd221632f9a193d41f95ef6c6fb3095)
*/

/**
Expand Down Expand Up @@ -345,7 +345,7 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO {
public $receipt_text;

/**
* Is this property active?
* Is this page active?
*
* @var bool|string
* (SQL type: tinyint)
Expand Down Expand Up @@ -1028,14 +1028,18 @@ public static function &fields() {
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Page Active?'),
'description' => ts('Is this property active?'),
'description' => ts('Is this page active?'),
'required' => TRUE,
'where' => 'civicrm_contribution_page.is_active',
'default' => '1',
'table_name' => 'civicrm_contribution_page',
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '1.3',
],
'footer_text' => [
Expand Down
7 changes: 6 additions & 1 deletion CRM/Contribute/DAO/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contribute/Product.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:f90cdc40f03902b6d56e3696d31176ef)
* (GenCodeChecksum:f96bcd7024216cd8047a0b48d5872280)
*/

/**
Expand Down Expand Up @@ -449,10 +449,15 @@ public static function &fields() {
'description' => ts('Disabling premium removes it from the premiums_premium join table below.'),
'required' => TRUE,
'where' => 'civicrm_product.is_active',
'default' => '1',
'table_name' => 'civicrm_product',
'entity' => 'Product',
'bao' => 'CRM_Contribute_BAO_Product',
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '1.4',
],
'period_type' => [
Expand Down
6 changes: 5 additions & 1 deletion CRM/Contribute/DAO/Widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contribute/Widget.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:761ac45df6470b9de84e001b5443d9f6)
* (GenCodeChecksum:f68b308a17da0c1dc8ef9c7da5f491b0)
*/

/**
Expand Down Expand Up @@ -252,6 +252,10 @@ public static function &fields() {
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '2.0',
],
'title' => [
Expand Down
6 changes: 5 additions & 1 deletion CRM/Core/DAO/ActionSchedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Core/ActionSchedule.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:445eb201f20f412b272ca9df07bca33a)
* (GenCodeChecksum:bd11fc1e261257df319b4d4b5dcc6029)
*/

/**
Expand Down Expand Up @@ -762,6 +762,10 @@ public static function &fields() {
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '3.4',
],
'recipient_manual' => [
Expand Down
6 changes: 5 additions & 1 deletion CRM/Core/DAO/Country.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Core/Country.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:94e7967af16d9be6823ac8ec64c9bb11)
* (GenCodeChecksum:aea8b50402876e0d62a31de7639839d6)
*/

/**
Expand Down Expand Up @@ -341,6 +341,10 @@ public static function &fields() {
'entity' => 'Country',
'bao' => 'CRM_Core_BAO_Country',
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '5.35',
],
];
Expand Down
6 changes: 5 additions & 1 deletion CRM/Core/DAO/County.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Core/County.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:e932f1c10938d67078e2343656b68903)
* (GenCodeChecksum:fac3566a84ce222c10465dbee9c5fbc5)
*/

/**
Expand Down Expand Up @@ -207,6 +207,10 @@ public static function &fields() {
'entity' => 'County',
'bao' => 'CRM_Core_BAO_County',
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '5.35',
],
];
Expand Down
6 changes: 5 additions & 1 deletion CRM/Core/DAO/CustomField.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Core/CustomField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:1bdc1de3a50a96d48b70369e4ff8c97f)
* (GenCodeChecksum:b36f8202db0be873208f1895f3b3dc87)
*/

/**
Expand Down Expand Up @@ -631,6 +631,10 @@ public static function &fields() {
'entity' => 'CustomField',
'bao' => 'CRM_Core_BAO_CustomField',
'localizable' => 0,
'html' => [
'type' => 'CheckBox',
'label' => ts("Enabled"),
],
'add' => '1.1',
],
'is_view' => [
Expand Down
Loading

0 comments on commit be3b309

Please sign in to comment.