Merge pull request #14097 from eileenmcnaughton/mailin_test
[civicrm-core.git] / CRM / Core / DAO / Managed.php
index 7726ec418e38c238b4318c2baa3d57ad4ff00f82..68272f34cfdd1135fda6ff3cb02ab3cf70856f3e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Managed.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:47e95661423fb2f97b3fd2069c4e404f)
+ * (GenCodeChecksum:79f57e32601e72d62755569fbf58c801)
  */
 
 /**
@@ -19,19 +19,19 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_managed';
+  public static $_tableName = 'civicrm_managed';
 
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var bool
    */
-  static $_log = FALSE;
+  public static $_log = FALSE;
 
   /**
    * Surrogate Key
    *
-   * @var int unsigned
+   * @var int
    */
   public $id;
 
@@ -59,7 +59,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
   /**
    * Foreign key to the referenced item.
    *
-   * @var int unsigned
+   * @var int
    */
   public $entity_id;
 
@@ -92,6 +92,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
           'title' => ts('Managed ID'),
           'description' => ts('Surrogate Key'),
           'required' => TRUE,
+          'where' => 'civicrm_managed.id',
           'table_name' => 'civicrm_managed',
           'entity' => 'Managed',
           'bao' => 'CRM_Core_DAO_Managed',
@@ -105,6 +106,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
           'required' => TRUE,
           'maxlength' => 127,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_managed.module',
           'table_name' => 'civicrm_managed',
           'entity' => 'Managed',
           'bao' => 'CRM_Core_DAO_Managed',
@@ -117,6 +119,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
           'description' => ts('Symbolic name used by the module to identify the object'),
           'maxlength' => 127,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_managed.name',
           'table_name' => 'civicrm_managed',
           'entity' => 'Managed',
           'bao' => 'CRM_Core_DAO_Managed',
@@ -130,6 +133,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
           'required' => TRUE,
           'maxlength' => 64,
           'size' => CRM_Utils_Type::BIG,
+          'where' => 'civicrm_managed.entity_type',
           'table_name' => 'civicrm_managed',
           'entity' => 'Managed',
           'bao' => 'CRM_Core_DAO_Managed',
@@ -141,6 +145,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
           'title' => ts('Entity ID'),
           'description' => ts('Foreign key to the referenced item.'),
           'required' => TRUE,
+          'where' => 'civicrm_managed.entity_id',
           'table_name' => 'civicrm_managed',
           'entity' => 'Managed',
           'bao' => 'CRM_Core_DAO_Managed',
@@ -153,6 +158,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
           'description' => ts('Policy on when to cleanup entity (always, never, unused)'),
           'maxlength' => 32,
           'size' => CRM_Utils_Type::MEDIUM,
+          'where' => 'civicrm_managed.cleanup',
           'table_name' => 'civicrm_managed',
           'entity' => 'Managed',
           'bao' => 'CRM_Core_DAO_Managed',
@@ -162,7 +168,7 @@ class CRM_Core_DAO_Managed extends CRM_Core_DAO {
           ],
           'pseudoconstant' => [
             'callback' => 'CRM_Core_ManagedEntities::getCleanupOptions',
-          ]
+          ],
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);