CRM-20312 regenerated DAO with localisation
[civicrm-core.git] / CRM / Pledge / DAO / Pledge.php
index e471c0e46a1e6cd4e4745651a16efe468587d5e1..11c0b54da9cbf2a7e01fbb9fadd82e9b75b906ac 100644 (file)
@@ -3,7 +3,7 @@
 +--------------------------------------------------------------------+
 | CiviCRM version 4.7                                                |
 +--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-2016                                |
+| Copyright CiviCRM LLC (c) 2004-2017                                |
 +--------------------------------------------------------------------+
 | This file is a part of CiviCRM.                                    |
 |                                                                    |
 */
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2016
+ * @copyright CiviCRM LLC (c) 2004-2017
  *
  * Generated from xml/schema/CRM/Pledge/Pledge.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6aa082b07bbcb93e0a7c5e9048643c91)
+ * (GenCodeChecksum:93d3db6cf90649f6bc070d1b72def5af)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Pledge_DAO_Pledge constructor.
+ */
 class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
   /**
-   * static instance to hold the table name
+   * Static instance to hold the table name.
    *
    * @var string
    */
   static $_tableName = 'civicrm_pledge';
   /**
-   * static value to see if we should log any modifications to
-   * this table in the civicrm_log table
+   * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var boolean
    */
@@ -186,16 +188,14 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
    */
   public $campaign_id;
   /**
-   * class constructor
-   *
-   * @return civicrm_pledge
+   * Class constructor.
    */
   function __construct() {
     $this->__table = 'civicrm_pledge';
     parent::__construct();
   }
   /**
-   * Returns foreign keys and entity references
+   * Returns foreign keys and entity references.
    *
    * @return array
    *   [CRM_Core_Reference_Interface]
@@ -230,6 +230,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => true,
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
         ) ,
         'pledge_contact_id' => array(
           'name' => 'contact_id',
@@ -242,6 +246,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => true,
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
           'html' => array(
             'type' => 'EntityRef',
@@ -252,6 +260,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Type') ,
           'description' => 'FK to Financial Type',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Financial_DAO_FinancialType',
           'html' => array(
             'type' => 'Select',
@@ -267,6 +279,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Pledge Contribution Page') ,
           'description' => 'The Contribution Page which triggered this contribution',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
         ) ,
         'pledge_amount' => array(
@@ -284,6 +300,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => true,
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -298,6 +318,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
             20,
             2
           ) ,
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -310,6 +334,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'maxlength' => 3,
           'size' => CRM_Utils_Type::FOUR,
           'default' => 'NULL',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select',
           ) ,
@@ -328,6 +356,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'maxlength' => 8,
           'size' => CRM_Utils_Type::EIGHT,
           'default' => 'month',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select',
           ) ,
@@ -344,6 +376,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'description' => 'Number of time units for recurrence of pledge payments.',
           'required' => true,
           'default' => '1',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -355,6 +391,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'description' => 'Day in the period when the pledge payment is due e.g. 1st of month, 15th etc. Use this to set the scheduled dates for pledge payments.',
           'required' => true,
           'default' => '3',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select',
           ) ,
@@ -365,6 +405,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'title' => ts('Pledge Number of Installments') ,
           'description' => 'Total number of payments to be made.',
           'default' => '1',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -375,6 +419,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'title' => ts('Pledge Start Date') ,
           'description' => 'The date the first scheduled pledge occurs.',
           'required' => true,
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select Date',
           ) ,
@@ -390,6 +438,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => true,
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select Date',
           ) ,
@@ -399,6 +451,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Pledge Acknowledged') ,
           'description' => 'When a pledge acknowledgement message was sent to the contributor.',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select Date',
           ) ,
@@ -408,12 +464,20 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Pledge Modified Date') ,
           'description' => 'Last updated date for this pledge record.',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
         ) ,
         'cancel_date' => array(
           'name' => 'cancel_date',
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Pledge Cancelled Date') ,
           'description' => 'Date this pledge was cancelled by contributor.',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select Date',
           ) ,
@@ -423,6 +487,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Pledge End Date') ,
           'description' => 'Date this pledge finished successfully (total pledge payments equal to or greater than pledged amount).',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select Date',
           ) ,
@@ -433,6 +501,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'title' => ts('Maximum Number of Reminders') ,
           'description' => 'The maximum number of payment reminders to send for any given payment.',
           'default' => '1',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -443,6 +515,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'title' => ts('Initial Reminder Day') ,
           'description' => 'Send initial reminder this many days prior to the payment due date.',
           'default' => '5',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Select',
           ) ,
@@ -453,6 +529,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'title' => ts('Additional Reminder Days') ,
           'description' => 'Send additional reminder this many days after last one sent, up to maximum number of reminders.',
           'default' => '5',
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'Text',
           ) ,
@@ -467,6 +547,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => false,
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'pseudoconstant' => array(
             'optionGroupName' => 'contribution_status',
             'optionEditPath' => 'civicrm/admin/options/contribution_status',
@@ -481,6 +565,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => true,
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'html' => array(
             'type' => 'CheckBox',
           ) ,
@@ -495,6 +583,10 @@ class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
           'headerPattern' => '',
           'dataPattern' => '',
           'export' => true,
+          'table_name' => 'civicrm_pledge',
+          'entity' => 'Pledge',
+          'bao' => 'CRM_Pledge_BAO_Pledge',
+          'localizable' => 0,
           'FKClassName' => 'CRM_Campaign_DAO_Campaign',
           'html' => array(
             'type' => 'Select',