Merge pull request #22954 from JMAConsulting/booleanFields
[civicrm-core.git] / CRM / Pledge / DAO / PledgeBlock.php
index 209e60a3aa4173a4b24989ae54524ca3ecbd0d14..72d227201b96cfdbde184a105324b4cff37e74d2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Pledge/PledgeBlock.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:37dd1b6ee946c78093489ce7a98c55e0)
+ * (GenCodeChecksum:5c573642b549c72e343477a782ed62dc)
  */
 
 /**
@@ -34,77 +34,99 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO {
   /**
    * Pledge ID
    *
-   * @var int
+   * @var int|string|null
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $id;
 
   /**
    * physical tablename for entity being joined to pledge, e.g. civicrm_contact
    *
-   * @var string
+   * @var string|null
+   *   (SQL type: varchar(64))
+   *   Note that values will be retrieved from the database as a string.
    */
   public $entity_table;
 
   /**
    * FK to entity table specified in entity_table column.
    *
-   * @var int
+   * @var int|string
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $entity_id;
 
   /**
    * Delimited list of supported frequency units
    *
-   * @var string
+   * @var string|null
+   *   (SQL type: varchar(128))
+   *   Note that values will be retrieved from the database as a string.
    */
   public $pledge_frequency_unit;
 
   /**
    * Is frequency interval exposed on the contribution form.
    *
-   * @var bool
+   * @var bool|string
+   *   (SQL type: tinyint)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $is_pledge_interval;
 
   /**
    * The maximum number of payment reminders to send for any given payment.
    *
-   * @var int
+   * @var int|string|null
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $max_reminders;
 
   /**
    * Send initial reminder this many days prior to the payment due date.
    *
-   * @var int
+   * @var int|string|null
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $initial_reminder_day;
 
   /**
    * Send additional reminder this many days after last one sent, up to maximum number of reminders.
    *
-   * @var int
+   * @var int|string|null
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $additional_reminder_day;
 
   /**
    * The date the first scheduled pledge occurs.
    *
-   * @var string
+   * @var string|null
+   *   (SQL type: varchar(64))
+   *   Note that values will be retrieved from the database as a string.
    */
   public $pledge_start_date;
 
   /**
    * If true - recurring start date is shown.
    *
-   * @var bool
+   * @var bool|string
+   *   (SQL type: tinyint)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $is_pledge_start_date_visible;
 
   /**
    * If true - recurring start date is editable.
    *
-   * @var bool
+   * @var bool|string
+   *   (SQL type: tinyint)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $is_pledge_start_date_editable;
 
@@ -213,6 +235,7 @@ class CRM_Pledge_DAO_PledgeBlock extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Expose Frequency Interval?'),
           'description' => ts('Is frequency interval exposed on the contribution form.'),
+          'required' => TRUE,
           'where' => 'civicrm_pledge_block.is_pledge_interval',
           'default' => '0',
           'table_name' => 'civicrm_pledge_block',