*
* Generated from xml/schema/CRM/ACL/ACL.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5727b59234c51d62e5d279c582cbd95b)
+ * (GenCodeChecksum:64a0037ac9582a2b613798886028013e)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('ACL ID') ,
'description' => 'Unique table ID',
'required' => true,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
) ,
'name' => array(
'name' => 'name',
'description' => 'ACL Name.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Deny ACL?') ,
'description' => 'Is this ACL entry Allow (0) or Deny (1) ?',
'required' => true,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
'html' => array(
'type' => 'Radio',
) ,
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
) ,
'entity_id' => array(
'name' => 'entity_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Entity ID') ,
'description' => 'ID of the object possessing this ACL',
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
) ,
'operation' => array(
'name' => 'operation',
'required' => true,
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
'html' => array(
'type' => 'Select',
) ,
'description' => 'The table of the object controlled by this ACL entry',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
) ,
'object_id' => array(
'name' => 'object_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('ACL Object ID') ,
'description' => 'The ID of the object controlled by this ACL entry',
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
) ,
'acl_table' => array(
'name' => 'acl_table',
'description' => 'If this is a grant/revoke entry, what table are we granting?',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
) ,
'acl_id' => array(
'name' => 'acl_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('ACL Group ID') ,
'description' => 'ID of the ACL or ACL group being granted/revoked',
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('ACL Is Active?') ,
'description' => 'Is this property active?',
+ 'table_name' => 'civicrm_acl',
+ 'entity' => 'ACL',
+ 'bao' => 'CRM_ACL_BAO_ACL',
'html' => array(
'type' => 'Checkbox',
) ,
*
* Generated from xml/schema/CRM/ACL/Cache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2022900f4e480daf0ed872bd88a3579b)
+ * (GenCodeChecksum:c9b0fa8ca419c222fd5de7f8ceefcdd8)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Cache ID') ,
'description' => 'Unique table ID',
'required' => true,
+ 'table_name' => 'civicrm_acl_cache',
+ 'entity' => 'Cache',
+ 'bao' => 'CRM_ACL_BAO_Cache',
) ,
'contact_id' => array(
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Cache Contact') ,
'description' => 'Foreign Key to Contact',
+ 'table_name' => 'civicrm_acl_cache',
+ 'entity' => 'Cache',
+ 'bao' => 'CRM_ACL_BAO_Cache',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'acl_id' => array(
'title' => ts('Cache ACL') ,
'description' => 'Foreign Key to ACL',
'required' => true,
+ 'table_name' => 'civicrm_acl_cache',
+ 'entity' => 'Cache',
+ 'bao' => 'CRM_ACL_BAO_Cache',
'FKClassName' => 'CRM_ACL_DAO_ACL',
) ,
'modified_date' => array(
'title' => ts('Cache Modified Date') ,
'description' => 'When was this cache entry last modified',
'required' => false,
+ 'table_name' => 'civicrm_acl_cache',
+ 'entity' => 'Cache',
+ 'bao' => 'CRM_ACL_BAO_Cache',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/ACL/EntityRole.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9ec4917a20273426112e2d0df3e985d1)
+ * (GenCodeChecksum:005d4928f36bf24b5e20e13f18f0588d)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Entity Role') ,
'description' => 'Unique table ID',
'required' => true,
+ 'table_name' => 'civicrm_acl_entity_role',
+ 'entity' => 'EntityRole',
+ 'bao' => 'CRM_ACL_BAO_EntityRole',
) ,
'acl_role_id' => array(
'name' => 'acl_role_id',
'title' => ts('ACL Role ID') ,
'description' => 'Foreign Key to ACL Role (which is an option value pair and hence an implicit FK)',
'required' => true,
+ 'table_name' => 'civicrm_acl_entity_role',
+ 'entity' => 'EntityRole',
+ 'bao' => 'CRM_ACL_BAO_EntityRole',
) ,
'entity_table' => array(
'name' => 'entity_table',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_acl_entity_role',
+ 'entity' => 'EntityRole',
+ 'bao' => 'CRM_ACL_BAO_EntityRole',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('ACL Entity ID') ,
'description' => 'ID of the group/contact object being joined',
'required' => true,
+ 'table_name' => 'civicrm_acl_entity_role',
+ 'entity' => 'EntityRole',
+ 'bao' => 'CRM_ACL_BAO_EntityRole',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('ACL Entity Role is Active') ,
'description' => 'Is this property active?',
+ 'table_name' => 'civicrm_acl_entity_role',
+ 'entity' => 'EntityRole',
+ 'bao' => 'CRM_ACL_BAO_EntityRole',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Activity/Activity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9f8fd18414364d34516134b9d931ac02)
+ * (GenCodeChecksum:0dd661946f59d928e2b928c3c3f67d44)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
) ,
'source_record_id' => array(
'name' => 'source_record_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Source Record') ,
'description' => 'Artificial FK to original transaction (e.g. contribution) IF it is not an Activity. Table can be figured out through activity_type_id, and further through component registry.',
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
) ,
'activity_type_id' => array(
'name' => 'activity_type_id',
'dataPattern' => '',
'export' => true,
'default' => '1',
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '/(activity.)?subject/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/(activity.)?date(.time$)?/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Select Date',
+ 'format' => 'activityDateTime',
) ,
) ,
'activity_duration' => array(
'headerPattern' => '/(activity.)?duration(s)?$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/(activity.)?location$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Phone (called) ID') ,
'description' => 'Phone ID of the number called (optional - used if an existing phone number is selected).',
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'FKClassName' => 'CRM_Core_DAO_Phone',
'html' => array(
'type' => 'EntityRef',
'description' => 'Phone number in case the number does not exist in the civicrm_phone table.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/(activity.)?detail(s)?$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'RichTextEditor',
) ,
'headerPattern' => '/(activity.)?status(.label$)?/i',
'dataPattern' => '',
'export' => false,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Priority') ,
'description' => 'ID of the priority given to this activity. Foreign key to civicrm_option_value.',
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Parent Activity Id') ,
'description' => 'Parent meeting ID (if this is a follow-up item). This is not currently implemented',
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'FKClassName' => 'CRM_Activity_DAO_Activity',
) ,
'activity_is_test' => array(
'headerPattern' => '/(is.)?test(.activity)?/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Activity Medium') ,
'description' => 'Activity Medium, Implicit FK to civicrm_option_value where option_group = encounter_medium.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Select',
) ,
'name' => 'is_auto',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Auto') ,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
) ,
'relationship_id' => array(
'name' => 'relationship_id',
'title' => ts('Relationship Id') ,
'description' => 'FK to Relationship ID',
'default' => 'NULL',
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'FKClassName' => 'CRM_Contact_DAO_Relationship',
) ,
'is_current_revision' => array(
'dataPattern' => '',
'export' => true,
'default' => '1',
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Original Activity ID ') ,
'description' => 'Activity ID of the first activity record in versioning chain.',
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'FKClassName' => 'CRM_Activity_DAO_Activity',
) ,
'activity_result' => array(
'description' => 'Currently being used to store result id for survey activity, FK to option value.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/(activity.)?(trash|deleted)/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'html' => array(
'type' => 'CheckBox',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Select',
) ,
'name' => 'weight',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Order') ,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/(activity.)?(star|favorite)/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_activity',
+ 'entity' => 'Activity',
+ 'bao' => 'CRM_Activity_BAO_Activity',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Activity/ActivityContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f0e603e16da3ae5c5ac641e6a4bdc46e)
+ * (GenCodeChecksum:aad054dda65b709f5861d75e45c20131)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Activity Contact ID') ,
'description' => 'Activity contact id',
'required' => true,
+ 'table_name' => 'civicrm_activity_contact',
+ 'entity' => 'ActivityContact',
+ 'bao' => 'CRM_Activity_BAO_ActivityContact',
) ,
'activity_id' => array(
'name' => 'activity_id',
'title' => ts('Activity ID') ,
'description' => 'Foreign key to the activity for this record.',
'required' => true,
+ 'table_name' => 'civicrm_activity_contact',
+ 'entity' => 'ActivityContact',
+ 'bao' => 'CRM_Activity_BAO_ActivityContact',
'FKClassName' => 'CRM_Activity_DAO_Activity',
) ,
'contact_id' => array(
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_activity_contact',
+ 'entity' => 'ActivityContact',
+ 'bao' => 'CRM_Activity_BAO_ActivityContact',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'record_type_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Record Type ID') ,
'description' => 'Nature of this contact\'s role in the activity: 1 assignee, 2 creator, 3 focus or target.',
+ 'table_name' => 'civicrm_activity_contact',
+ 'entity' => 'ActivityContact',
+ 'bao' => 'CRM_Activity_BAO_ActivityContact',
'html' => array(
'type' => 'Select',
) ,
*
* Generated from xml/schema/CRM/Batch/Batch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:81081e8ad03b0097ba7949b4425b1ca8)
+ * (GenCodeChecksum:d02020e92b997906c5591971b4c4b988)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Batch ID') ,
'description' => 'Unique Address ID',
'required' => true,
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
) ,
'name' => array(
'name' => 'name',
'description' => 'Variable name/programmatic handle for this batch.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Friendly Name.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Description of this batch set.',
'rows' => 4,
'cols' => 80,
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Created By') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'created_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Batch Created Date') ,
'description' => 'When was this item created',
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
'html' => array(
'type' => 'Select Date',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Modified By') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'modified_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Batch Modified Date') ,
'description' => 'When was this item created',
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
) ,
'saved_search_id' => array(
'name' => 'saved_search_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Smart Group') ,
'description' => 'FK to Saved Search ID',
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
'FKClassName' => 'CRM_Contact_DAO_SavedSearch',
'html' => array(
'type' => 'EntityRef',
'title' => ts('Batch Status') ,
'description' => 'fk to Batch Status options in civicrm_option_values',
'required' => true,
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Type') ,
'description' => 'fk to Batch Type options in civicrm_option_values',
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Mode') ,
'description' => 'fk to Batch mode options in civicrm_option_values',
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
'html' => array(
'type' => 'Select',
) ,
20,
2
) ,
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Number of Items') ,
'description' => 'Number of items in a batch.',
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Payment Method') ,
'description' => 'fk to Payment Instrument options in civicrm_option_values',
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
'html' => array(
'type' => 'Select',
) ,
'name' => 'exported_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Batch Exported Date') ,
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
) ,
'data' => array(
'name' => 'data',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Batch Data') ,
'description' => 'cache entered data',
+ 'table_name' => 'civicrm_batch',
+ 'entity' => 'Batch',
+ 'bao' => 'CRM_Batch_BAO_Batch',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Batch/EntityBatch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:160615ef07fcb012b5d7fb23a54763a5)
+ * (GenCodeChecksum:e3fff81311c24e7691d3ae2c2522d93a)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('EntityBatch ID') ,
'description' => 'primary key',
'required' => true,
+ 'table_name' => 'civicrm_entity_batch',
+ 'entity' => 'EntityBatch',
+ 'bao' => 'CRM_Batch_BAO_EntityBatch',
) ,
'entity_table' => array(
'name' => 'entity_table',
'description' => 'physical tablename for entity being joined to file, e.g. civicrm_contact',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_entity_batch',
+ 'entity' => 'EntityBatch',
+ 'bao' => 'CRM_Batch_BAO_EntityBatch',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Entity ID') ,
'description' => 'FK to entity table specified in entity_table column.',
'required' => true,
+ 'table_name' => 'civicrm_entity_batch',
+ 'entity' => 'EntityBatch',
+ 'bao' => 'CRM_Batch_BAO_EntityBatch',
) ,
'batch_id' => array(
'name' => 'batch_id',
'title' => ts('Batch ID') ,
'description' => 'FK to civicrm_batch',
'required' => true,
+ 'table_name' => 'civicrm_entity_batch',
+ 'entity' => 'EntityBatch',
+ 'bao' => 'CRM_Batch_BAO_EntityBatch',
'FKClassName' => 'CRM_Batch_DAO_Batch',
) ,
);
*
* Generated from xml/schema/CRM/Campaign/Campaign.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f458ad522680b056ea1fe27ef362b523)
+ * (GenCodeChecksum:1f3125d30683d39abc6a6e1d70a093c8)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
) ,
'name' => array(
'name' => 'name',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Full description of Campaign.',
'rows' => 8,
'cols' => 60,
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'html' => array(
'type' => 'TextArea',
) ,
'headerPattern' => '/^start|(s(tart\s)?date)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'html' => array(
'type' => 'Select Date',
) ,
'headerPattern' => '/^end|(e(nd\s)?date)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'html' => array(
'type' => 'Select Date',
) ,
'dataPattern' => '',
'export' => true,
'default' => 'NULL',
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'html' => array(
'type' => 'Select',
) ,
'dataPattern' => '',
'export' => true,
'default' => 'NULL',
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '/external\s?id/i',
'dataPattern' => '/^\d{11,}$/',
'export' => true,
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'html' => array(
'type' => 'Text',
) ,
'dataPattern' => '',
'export' => true,
'default' => 'NULL',
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'html' => array(
'type' => 'EntityRef',
'title' => ts('Is Campaign Active?') ,
'description' => 'Is this Campaign enabled or disabled/cancelled?',
'default' => '1',
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Campaign Created By') ,
'description' => 'FK to civicrm_contact, who created this Campaign.',
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'created_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Campaign Created Date') ,
'description' => 'Date and time that Campaign was created.',
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'html' => array(
'type' => 'Select Date',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Campaign Modified By') ,
'description' => 'FK to civicrm_contact, who recently edited this Campaign.',
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'last_modified_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Campaign Modified Date') ,
'description' => 'Date and time that Campaign was edited last time.',
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
) ,
'goal_general' => array(
'name' => 'goal_general',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Campaign Goals') ,
'description' => 'General goals for Campaign.',
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'html' => array(
'type' => 'RichTextEditor',
) ,
20,
2
) ,
+ 'table_name' => 'civicrm_campaign',
+ 'entity' => 'Campaign',
+ 'bao' => 'CRM_Campaign_BAO_Campaign',
'html' => array(
'type' => 'Text',
) ,
*
* Generated from xml/schema/CRM/Campaign/CampaignGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4ff30619fe1018210832e24befe9c40f)
+ * (GenCodeChecksum:7ada46f496fcb74661d1de2090d934b5)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Campaign Group ID') ,
'description' => 'Campaign Group id.',
'required' => true,
+ 'table_name' => 'civicrm_campaign_group',
+ 'entity' => 'CampaignGroup',
+ 'bao' => 'CRM_Campaign_DAO_CampaignGroup',
) ,
'campaign_id' => array(
'name' => 'campaign_id',
'title' => ts('Campaign') ,
'description' => 'Foreign key to the activity Campaign.',
'required' => true,
+ 'table_name' => 'civicrm_campaign_group',
+ 'entity' => 'CampaignGroup',
+ 'bao' => 'CRM_Campaign_DAO_CampaignGroup',
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'pseudoconstant' => array(
'table' => 'civicrm_campaign',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'default' => 'NULL',
+ 'table_name' => 'civicrm_campaign_group',
+ 'entity' => 'CampaignGroup',
+ 'bao' => 'CRM_Campaign_DAO_CampaignGroup',
'html' => array(
'type' => 'Select',
) ,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'default' => 'NULL',
+ 'table_name' => 'civicrm_campaign_group',
+ 'entity' => 'CampaignGroup',
+ 'bao' => 'CRM_Campaign_DAO_CampaignGroup',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Entity ID') ,
'description' => 'Entity id of referenced table.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_campaign_group',
+ 'entity' => 'CampaignGroup',
+ 'bao' => 'CRM_Campaign_DAO_CampaignGroup',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Campaign/Survey.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c45e190f503b80f0ee057a9ed43a5753)
+ * (GenCodeChecksum:094b1dddcc57e23dbccbfc315d403acc)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Survey ID') ,
'description' => 'Survey id.',
'required' => true,
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
) ,
'title' => array(
'name' => 'title',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
) ,
'campaign_id' => array(
'name' => 'campaign_id',
'title' => ts('Survey Campaign ID') ,
'description' => 'Foreign key to the Campaign.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'pseudoconstant' => array(
'table' => 'civicrm_campaign',
'dataPattern' => '',
'export' => true,
'default' => 'NULL',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
'html' => array(
'type' => 'Select',
) ,
'description' => 'Recontact intervals for each status.',
'rows' => 20,
'cols' => 80,
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Script instructions for volunteers to use for the survey.',
'rows' => 20,
'cols' => 80,
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
'html' => array(
'type' => 'TextArea',
) ,
'title' => ts('Survey Hold Duration') ,
'description' => 'Number of days for recurrence of release.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
) ,
'max_number_of_contacts' => array(
'name' => 'max_number_of_contacts',
'title' => ts('Maximum number of contacts') ,
'description' => 'Maximum number of contacts to allow for survey.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
) ,
'default_number_of_contacts' => array(
'name' => 'default_number_of_contacts',
'title' => ts('Default number of contacts') ,
'description' => 'Default number of contacts to allow for survey.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Survey Is Active') ,
'description' => 'Is this survey enabled or disabled/cancelled?',
'default' => '1',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
) ,
'is_default' => array(
'name' => 'is_default',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Default Survey') ,
'description' => 'Is this default survey?',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
) ,
'created_id' => array(
'name' => 'created_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Survey Created By') ,
'description' => 'FK to civicrm_contact, who created this Survey.',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'created_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Campaign Created Date') ,
'description' => 'Date and time that Survey was created.',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
) ,
'last_modified_id' => array(
'name' => 'last_modified_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Survey Modified') ,
'description' => 'FK to civicrm_contact, who recently edited this Survey.',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'last_modified_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Survey Modified On') ,
'description' => 'Date and time that Survey was edited last time.',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
) ,
'result_id' => array(
'name' => 'result_id',
'title' => ts('Survey Result') ,
'description' => 'Used to store option group id.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
) ,
'bypass_confirm' => array(
'name' => 'bypass_confirm',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('No Email Verification') ,
'description' => 'Bypass the email verification.',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
) ,
'thankyou_title' => array(
'name' => 'thankyou_title',
'description' => 'Title for Thank-you page (header title tag, and display at the top of the page).',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
) ,
'thankyou_text' => array(
'name' => 'thankyou_text',
'description' => 'text and html allowed. displayed above result on success page',
'rows' => 8,
'cols' => 60,
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
'html' => array(
'type' => 'TextArea',
) ,
'title' => ts('Is shared through social media') ,
'description' => 'Can people share the petition through social media?',
'default' => '1',
+ 'table_name' => 'civicrm_survey',
+ 'entity' => 'Survey',
+ 'bao' => 'CRM_Campaign_BAO_Survey',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Case/Case.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:04bab9fc8d6e510321735d25c97ca261)
+ * (GenCodeChecksum:44b646374975b3c38e6619c07369162c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
) ,
'case_type_id' => array(
'name' => 'case_type_id',
'headerPattern' => '',
'dataPattern' => '',
'export' => false,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
'FKClassName' => 'CRM_Case_DAO_CaseType',
'html' => array(
'type' => 'Select',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
'html' => array(
'type' => 'Select Date',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
'html' => array(
'type' => 'Select Date',
) ,
'description' => 'Details about the meeting (agenda, notes, etc).',
'rows' => 8,
'cols' => 60,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
'html' => array(
'type' => 'TextArea',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => false,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_case',
+ 'entity' => 'Case',
+ 'bao' => 'CRM_Case_BAO_Case',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Case/CaseActivity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c03262db2a1c211dcc17de688ec9cc69)
+ * (GenCodeChecksum:c769e126891a72af7142bb9a7e61a49e)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Case Activity ID') ,
'description' => 'Unique case-activity association id',
'required' => true,
+ 'table_name' => 'civicrm_case_activity',
+ 'entity' => 'CaseActivity',
+ 'bao' => 'CRM_Case_DAO_CaseActivity',
) ,
'case_id' => array(
'name' => 'case_id',
'title' => ts('Case') ,
'description' => 'Case ID of case-activity association.',
'required' => true,
+ 'table_name' => 'civicrm_case_activity',
+ 'entity' => 'CaseActivity',
+ 'bao' => 'CRM_Case_DAO_CaseActivity',
'FKClassName' => 'CRM_Case_DAO_Case',
) ,
'activity_id' => array(
'title' => ts('Activity ID') ,
'description' => 'Activity ID of case-activity association.',
'required' => true,
+ 'table_name' => 'civicrm_case_activity',
+ 'entity' => 'CaseActivity',
+ 'bao' => 'CRM_Case_DAO_CaseActivity',
'FKClassName' => 'CRM_Activity_DAO_Activity',
) ,
);
*
* Generated from xml/schema/CRM/Case/CaseContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:81a99f6c6d9abe6d08efd359c015036c)
+ * (GenCodeChecksum:e428f3bbe24412a65b780ae70d400ddb)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Case Contact ID') ,
'description' => 'Unique case-contact association id',
'required' => true,
+ 'table_name' => 'civicrm_case_contact',
+ 'entity' => 'CaseContact',
+ 'bao' => 'CRM_Case_BAO_CaseContact',
) ,
'case_id' => array(
'name' => 'case_id',
'title' => ts('Case') ,
'description' => 'Case ID of case-contact association.',
'required' => true,
+ 'table_name' => 'civicrm_case_contact',
+ 'entity' => 'CaseContact',
+ 'bao' => 'CRM_Case_BAO_CaseContact',
'FKClassName' => 'CRM_Case_DAO_Case',
) ,
'contact_id' => array(
'title' => ts('Contact ID') ,
'description' => 'Contact ID of contact record given case belongs to.',
'required' => true,
+ 'table_name' => 'civicrm_case_contact',
+ 'entity' => 'CaseContact',
+ 'bao' => 'CRM_Case_BAO_CaseContact',
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => array(
'type' => 'EntityRef',
*
* Generated from xml/schema/CRM/Case/CaseType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b7ed773542d2b9e4016e073dac6c70b3)
+ * (GenCodeChecksum:cc1d89a5ea5e6f961de5684cbc6376b9)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Case Type ID') ,
'description' => 'Autoincremented type id',
'required' => true,
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'name' => array(
'name' => 'name',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'title' => array(
'name' => 'title',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'description' => array(
'name' => 'description',
'description' => 'Description of the Case Type',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Case Type Is Active') ,
'description' => 'Is this entry active?',
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Case Type Is Reserved') ,
'description' => 'Is this case type a predefined system type?',
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'weight' => array(
'name' => 'weight',
'description' => 'Ordering of the case types',
'required' => true,
'default' => '1',
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
'definition' => array(
'name' => 'definition',
'type' => CRM_Utils_Type::T_BLOB,
'title' => ts('Case Type Definition') ,
'description' => 'xml definition of case type',
+ 'table_name' => 'civicrm_case_type',
+ 'entity' => 'CaseType',
+ 'bao' => 'CRM_Case_BAO_CaseType',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Contact/ACLContactCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1fa52b3d989e373155239835b96a8191)
+ * (GenCodeChecksum:7e4a14b1fc751e6afde12ef2d97c0848)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('ACL Contact Cache ID') ,
'description' => 'primary key',
'required' => true,
+ 'table_name' => 'civicrm_acl_contact_cache',
+ 'entity' => 'ACLContactCache',
+ 'bao' => 'CRM_Contact_DAO_ACLContactCache',
) ,
'user_id' => array(
'name' => 'user_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contact ID') ,
'description' => 'FK to civicrm_contact (could be null for anon user)',
+ 'table_name' => 'civicrm_acl_contact_cache',
+ 'entity' => 'ACLContactCache',
+ 'bao' => 'CRM_Contact_DAO_ACLContactCache',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'contact_id' => array(
'title' => ts('Contact ID') ,
'description' => 'FK to civicrm_contact',
'required' => true,
+ 'table_name' => 'civicrm_acl_contact_cache',
+ 'entity' => 'ACLContactCache',
+ 'bao' => 'CRM_Contact_DAO_ACLContactCache',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'operation' => array(
'required' => true,
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_acl_contact_cache',
+ 'entity' => 'ACLContactCache',
+ 'bao' => 'CRM_Contact_DAO_ACLContactCache',
'html' => array(
'type' => 'Select',
) ,
*
* Generated from xml/schema/CRM/Contact/Contact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:27260577cac7dfa803107cb6f506b834)
+ * (GenCodeChecksum:0c8e687501dbd8f44354ee5f5cdf9b52)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'headerPattern' => '/internal|contact?|id$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
) ,
'contact_type' => array(
'name' => 'contact_type',
'where' => 'civicrm_contact.contact_type',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '/C(ontact )?(subtype|sub-type|sub type)/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '/d(o )?(not )?(email)/i',
'dataPattern' => '/^\d{1,}$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '/d(o )?(not )?(call|phone)/i',
'dataPattern' => '/^\d{1,}$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '/^(d(o\s)?n(ot\s)?mail)|(\w*)?bulk\s?(\w*)$/i',
'dataPattern' => '/^\d{1,}$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '/d(o )?(not )?(sms)/i',
'dataPattern' => '/^\d{1,}$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '/d(o )?(not )?(trade)/i',
'dataPattern' => '/^\d{1,}$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '/legal\s?id/i',
'dataPattern' => '/\w+?\d{5,}/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/external\s?id/i',
'dataPattern' => '/^\d{11,}$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'where' => 'civicrm_contact.sort_name',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'where' => 'civicrm_contact.display_name',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/n(ick\s)name|nick$/i',
'dataPattern' => '/^\w+$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/^legal|(l(egal\s)?name)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'File',
) ,
'headerPattern' => '/^p(ref\w*\s)?c(omm\w*)|( meth\w*)$/i',
'dataPattern' => '/^\w+$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '/^lang/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Select',
) ,
'dataPattern' => '',
'export' => true,
'default' => 'Both',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Select',
) ,
'where' => 'civicrm_contact.hash',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
) ,
'api_key' => array(
'name' => 'api_key',
'description' => 'API Key for validating requests related to this contact.',
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
) ,
'contact_source' => array(
'name' => 'source',
'headerPattern' => '/(C(ontact\s)?Source)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/^first|(f(irst\s)?name)$/i',
'dataPattern' => '/^\w+$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/^middle|(m(iddle\s)?name)$/i',
'dataPattern' => '/^\w+$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/^last|(l(ast\s)?name)$/i',
'dataPattern' => '/^\w+(\s\w+)?+$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/^(prefix|title)/i',
'dataPattern' => '/^(mr|ms|mrs|sir|dr)\.?$/i',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '/^suffix$/i',
'dataPattern' => '/^(sr|jr)\.?|i{2,}$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '/^title/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'where' => 'civicrm_contact.communication_style_id',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Email Greeting ID') ,
'description' => 'FK to civicrm_option_value.id, that has to be valid registered Email Greeting.',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
) ,
'email_greeting_custom' => array(
'name' => 'email_greeting_custom',
'headerPattern' => '',
'dataPattern' => '',
'export' => false,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Cache Email Greeting.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Postal Greeting ID') ,
'description' => 'FK to civicrm_option_value.id, that has to be valid registered Postal Greeting.',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => false,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Cache Postal greeting.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Addressee ID') ,
'description' => 'FK to civicrm_option_value.id, that has to be valid registered Addressee.',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
) ,
'addressee_custom' => array(
'name' => 'addressee_custom',
'headerPattern' => '',
'dataPattern' => '',
'export' => false,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Cache Addressee.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/^job|(j(ob\s)?title)$/i',
'dataPattern' => '//',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/^gender$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '/^birth|(b(irth\s)?date)|D(\W*)O(\W*)B(\W*)$/i',
'dataPattern' => '/\d{4}-?\d{2}-?\d{2}/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Select Date',
+ 'format' => 'birth',
) ,
) ,
'is_deceased' => array(
'headerPattern' => '/i(s\s)?d(eceased)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '/^deceased|(d(eceased\s)?date)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Select Date',
+ 'format' => 'birth',
) ,
) ,
'household_name' => array(
'headerPattern' => '/^household|(h(ousehold\s)?name)$/i',
'dataPattern' => '/^\w+$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Household Primary Contact ID') ,
'description' => 'Optional FK to Primary Contact for this household.',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => array(
'type' => 'Select',
'headerPattern' => '/^organization|(o(rganization\s)?name)$/i',
'dataPattern' => '/^\w+$/',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/^sic|(s(ic\s)?code)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'dataPattern' => '/^[\w\/\:\.]+$/',
'export' => true,
'rule' => 'url',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'Text',
) ,
'where' => 'civicrm_contact.employer_id',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => array(
'type' => 'EntityRef',
'where' => 'civicrm_contact.is_deleted',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '',
'dataPattern' => '',
'default' => 'NULL',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
) ,
'modified_date' => array(
'name' => 'modified_date',
'headerPattern' => '',
'dataPattern' => '',
'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP',
+ 'table_name' => 'civicrm_contact',
+ 'entity' => 'Contact',
+ 'bao' => 'CRM_Contact_BAO_Contact',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Contact/ContactType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5cd581b1cd8b3dc4f942b1612a1daff0)
+ * (GenCodeChecksum:ab18da73e77c120a3b3797acdd86a312)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Contact Type ID') ,
'description' => 'Contact Type ID',
'required' => true,
+ 'table_name' => 'civicrm_contact_type',
+ 'entity' => 'ContactType',
+ 'bao' => 'CRM_Contact_BAO_ContactType',
) ,
'name' => array(
'name' => 'name',
'description' => 'Internal name of Contact Type (or Subtype).',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_contact_type',
+ 'entity' => 'ContactType',
+ 'bao' => 'CRM_Contact_BAO_ContactType',
) ,
'label' => array(
'name' => 'label',
'description' => 'localized Name of Contact Type.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_contact_type',
+ 'entity' => 'ContactType',
+ 'bao' => 'CRM_Contact_BAO_ContactType',
) ,
'description' => array(
'name' => 'description',
'description' => 'localized Optional verbose description of the type.',
'rows' => 2,
'cols' => 60,
+ 'table_name' => 'civicrm_contact_type',
+ 'entity' => 'ContactType',
+ 'bao' => 'CRM_Contact_BAO_ContactType',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'URL of image if any.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contact_type',
+ 'entity' => 'ContactType',
+ 'bao' => 'CRM_Contact_BAO_ContactType',
) ,
'parent_id' => array(
'name' => 'parent_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contact Type Parent') ,
'description' => 'Optional FK to parent contact type.',
+ 'table_name' => 'civicrm_contact_type',
+ 'entity' => 'ContactType',
+ 'bao' => 'CRM_Contact_BAO_ContactType',
'FKClassName' => 'CRM_Contact_DAO_ContactType',
'pseudoconstant' => array(
'table' => 'civicrm_contact_type',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Contact Type Is Active?') ,
'description' => 'Is this entry active?',
+ 'table_name' => 'civicrm_contact_type',
+ 'entity' => 'ContactType',
+ 'bao' => 'CRM_Contact_BAO_ContactType',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Contact Type is Reserved?') ,
'description' => 'Is this contact type a predefined system type',
+ 'table_name' => 'civicrm_contact_type',
+ 'entity' => 'ContactType',
+ 'bao' => 'CRM_Contact_BAO_ContactType',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Contact/DashboardContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:21ce0d18eb988e90850ba4f5e56c161f)
+ * (GenCodeChecksum:5b6c6d2ccc579b98b3300c77898e596e)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Dashboard Contact ID') ,
'required' => true,
+ 'table_name' => 'civicrm_dashboard_contact',
+ 'entity' => 'DashboardContact',
+ 'bao' => 'CRM_Contact_BAO_DashboardContact',
) ,
'dashboard_id' => array(
'name' => 'dashboard_id',
'title' => ts('Dashboard') ,
'description' => 'Dashboard ID',
'required' => true,
+ 'table_name' => 'civicrm_dashboard_contact',
+ 'entity' => 'DashboardContact',
+ 'bao' => 'CRM_Contact_BAO_DashboardContact',
'FKClassName' => 'CRM_Core_DAO_Dashboard',
) ,
'contact_id' => array(
'title' => ts('Dashboard Contact') ,
'description' => 'Contact ID',
'required' => true,
+ 'table_name' => 'civicrm_dashboard_contact',
+ 'entity' => 'DashboardContact',
+ 'bao' => 'CRM_Contact_BAO_DashboardContact',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'column_no' => array(
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Column No') ,
'description' => 'column no for this widget',
+ 'table_name' => 'civicrm_dashboard_contact',
+ 'entity' => 'DashboardContact',
+ 'bao' => 'CRM_Contact_BAO_DashboardContact',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Dashlet is Active?') ,
'description' => 'Is this widget active?',
+ 'table_name' => 'civicrm_dashboard_contact',
+ 'entity' => 'DashboardContact',
+ 'bao' => 'CRM_Contact_BAO_DashboardContact',
) ,
'weight' => array(
'name' => 'weight',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Order') ,
'description' => 'Ordering of the widgets.',
+ 'table_name' => 'civicrm_dashboard_contact',
+ 'entity' => 'DashboardContact',
+ 'bao' => 'CRM_Contact_BAO_DashboardContact',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Contact/Group.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dfc60eae37cca2aa63dc674d2613264c)
+ * (GenCodeChecksum:f0c0283dd397c06e320397ca98628184)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Group ID') ,
'description' => 'Group ID',
'required' => true,
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'name' => array(
'name' => 'name',
'description' => 'Internal name of Group.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'title' => array(
'name' => 'title',
'description' => 'Name of Group.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'description' => array(
'name' => 'description',
'description' => 'Optional verbose description of the group.',
'rows' => 2,
'cols' => 60,
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Module or process which created this group.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'saved_search_id' => array(
'name' => 'saved_search_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Saved Search ID') ,
'description' => 'FK to saved search table.',
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
'FKClassName' => 'CRM_Contact_DAO_SavedSearch',
) ,
'is_active' => array(
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Group Enabled') ,
'description' => 'Is this entry active?',
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'visibility' => array(
'name' => 'visibility',
'maxlength' => 24,
'size' => CRM_Utils_Type::MEDIUM,
'default' => 'User and User Admin Only',
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Group Where Clause') ,
'description' => 'the sql where clause if a saved search acl',
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'select_tables' => array(
'name' => 'select_tables',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Tables For Select Clause') ,
'description' => 'the tables to be included in a select data',
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'where_tables' => array(
'name' => 'where_tables',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Tables For Where Clause') ,
'description' => 'the tables to be included in the count statement',
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'group_type' => array(
'name' => 'group_type',
'description' => 'FK to group type',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
'pseudoconstant' => array(
'optionGroupName' => 'group_type',
'optionEditPath' => 'civicrm/admin/options/group_type',
'title' => ts('Group Cache Date') ,
'description' => 'Date when we created the cache for a smart group',
'required' => false,
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'refresh_date' => array(
'name' => 'refresh_date',
'title' => ts('Next Group Refresh Time') ,
'description' => 'Date and time when we need to refresh the cache next.',
'required' => false,
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'parents' => array(
'name' => 'parents',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Group Parents') ,
'description' => 'IDs of the parent(s)',
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'children' => array(
'name' => 'children',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Group Children') ,
'description' => 'IDs of the child(ren)',
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'is_hidden' => array(
'name' => 'is_hidden',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Group is Hidden') ,
'description' => 'Is this group hidden?',
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Group is Reserved') ,
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
) ,
'created_id' => array(
'name' => 'created_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Group Created By') ,
'description' => 'FK to contact table.',
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'modified_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Group Modified By') ,
'description' => 'FK to contact table.',
+ 'table_name' => 'civicrm_group',
+ 'entity' => 'Group',
+ 'bao' => 'CRM_Contact_BAO_Group',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
);
*
* Generated from xml/schema/CRM/Contact/GroupContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:679a5d513b09d5a9a945b81aa00bd4d8)
+ * (GenCodeChecksum:35fdfbf11a347cce6ecc36f73561a859)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Group Contact ID') ,
'description' => 'primary key',
'required' => true,
+ 'table_name' => 'civicrm_group_contact',
+ 'entity' => 'GroupContact',
+ 'bao' => 'CRM_Contact_BAO_GroupContact',
) ,
'group_id' => array(
'name' => 'group_id',
'title' => ts('Group ID') ,
'description' => 'FK to civicrm_group',
'required' => true,
+ 'table_name' => 'civicrm_group_contact',
+ 'entity' => 'GroupContact',
+ 'bao' => 'CRM_Contact_BAO_GroupContact',
'FKClassName' => 'CRM_Contact_DAO_Group',
'html' => array(
'type' => 'Select',
'title' => ts('Contact ID') ,
'description' => 'FK to civicrm_contact',
'required' => true,
+ 'table_name' => 'civicrm_group_contact',
+ 'entity' => 'GroupContact',
+ 'bao' => 'CRM_Contact_BAO_GroupContact',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'status' => array(
'description' => 'status of contact relative to membership in group',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_group_contact',
+ 'entity' => 'GroupContact',
+ 'bao' => 'CRM_Contact_BAO_GroupContact',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Group Contact Location') ,
'description' => 'Optional location to associate with this membership',
+ 'table_name' => 'civicrm_group_contact',
+ 'entity' => 'GroupContact',
+ 'bao' => 'CRM_Contact_BAO_GroupContact',
'FKClassName' => 'CRM_Core_DAO_LocBlock',
) ,
'email_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Group Contact Email') ,
'description' => 'Optional email to associate with this membership',
+ 'table_name' => 'civicrm_group_contact',
+ 'entity' => 'GroupContact',
+ 'bao' => 'CRM_Contact_BAO_GroupContact',
'FKClassName' => 'CRM_Core_DAO_Email',
) ,
);
*
* Generated from xml/schema/CRM/Contact/GroupContactCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:023a51d74e195284645b47368b5d0ba5)
+ * (GenCodeChecksum:31cd73a50f43edb3cb192e7f3fb47d25)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Group Contact Cache ID') ,
'description' => 'primary key',
'required' => true,
+ 'table_name' => 'civicrm_group_contact_cache',
+ 'entity' => 'GroupContactCache',
+ 'bao' => 'CRM_Contact_BAO_GroupContactCache',
) ,
'group_id' => array(
'name' => 'group_id',
'title' => ts('Group') ,
'description' => 'FK to civicrm_group',
'required' => true,
+ 'table_name' => 'civicrm_group_contact_cache',
+ 'entity' => 'GroupContactCache',
+ 'bao' => 'CRM_Contact_BAO_GroupContactCache',
'FKClassName' => 'CRM_Contact_DAO_Group',
'html' => array(
'type' => 'Select',
'title' => ts('Contact ID') ,
'description' => 'FK to civicrm_contact',
'required' => true,
+ 'table_name' => 'civicrm_group_contact_cache',
+ 'entity' => 'GroupContactCache',
+ 'bao' => 'CRM_Contact_BAO_GroupContactCache',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
);
*
* Generated from xml/schema/CRM/Contact/GroupNesting.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:27daca1d6d4359440b4b23c02d8f6d9d)
+ * (GenCodeChecksum:4524a06b9ef249c447ab998d441d7413)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Group Nesting ID') ,
'description' => 'Relationship ID',
'required' => true,
+ 'table_name' => 'civicrm_group_nesting',
+ 'entity' => 'GroupNesting',
+ 'bao' => 'CRM_Contact_BAO_GroupNesting',
) ,
'child_group_id' => array(
'name' => 'child_group_id',
'title' => ts('Child Group') ,
'description' => 'ID of the child group',
'required' => true,
+ 'table_name' => 'civicrm_group_nesting',
+ 'entity' => 'GroupNesting',
+ 'bao' => 'CRM_Contact_BAO_GroupNesting',
'FKClassName' => 'CRM_Contact_DAO_Group',
) ,
'parent_group_id' => array(
'title' => ts('Parent Group') ,
'description' => 'ID of the parent group',
'required' => true,
+ 'table_name' => 'civicrm_group_nesting',
+ 'entity' => 'GroupNesting',
+ 'bao' => 'CRM_Contact_BAO_GroupNesting',
'FKClassName' => 'CRM_Contact_DAO_Group',
) ,
);
*
* Generated from xml/schema/CRM/Contact/GroupOrganization.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:df04af8d9ec7a806781ad82b08145a47)
+ * (GenCodeChecksum:1a4ff148dcbf5716ea44817892483d27)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Group Organization ID') ,
'description' => 'Relationship ID',
'required' => true,
+ 'table_name' => 'civicrm_group_organization',
+ 'entity' => 'GroupOrganization',
+ 'bao' => 'CRM_Contact_BAO_GroupOrganization',
) ,
'group_id' => array(
'name' => 'group_id',
'title' => ts('Group') ,
'description' => 'ID of the group',
'required' => true,
+ 'table_name' => 'civicrm_group_organization',
+ 'entity' => 'GroupOrganization',
+ 'bao' => 'CRM_Contact_BAO_GroupOrganization',
'FKClassName' => 'CRM_Contact_DAO_Group',
'html' => array(
'type' => 'Select',
'title' => ts('Organization') ,
'description' => 'ID of the Organization Contact',
'required' => true,
+ 'table_name' => 'civicrm_group_organization',
+ 'entity' => 'GroupOrganization',
+ 'bao' => 'CRM_Contact_BAO_GroupOrganization',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
);
*
* Generated from xml/schema/CRM/Contact/Relationship.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:935010ec18927fdebfa19965f5f73b48)
+ * (GenCodeChecksum:7435ce706f5392235ecda689d0f55bba)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Relationship ID') ,
'description' => 'Relationship ID',
'required' => true,
+ 'table_name' => 'civicrm_relationship',
+ 'entity' => 'Relationship',
+ 'bao' => 'CRM_Contact_BAO_Relationship',
) ,
'contact_id_a' => array(
'name' => 'contact_id_a',
'title' => ts('Contact A') ,
'description' => 'id of the first contact',
'required' => true,
+ 'table_name' => 'civicrm_relationship',
+ 'entity' => 'Relationship',
+ 'bao' => 'CRM_Contact_BAO_Relationship',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'contact_id_b' => array(
'title' => ts('Contact B') ,
'description' => 'id of the second contact',
'required' => true,
+ 'table_name' => 'civicrm_relationship',
+ 'entity' => 'Relationship',
+ 'bao' => 'CRM_Contact_BAO_Relationship',
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => array(
'type' => 'EntityRef',
'title' => ts('Relationship Type') ,
'description' => 'id of the relationship',
'required' => true,
+ 'table_name' => 'civicrm_relationship',
+ 'entity' => 'Relationship',
+ 'bao' => 'CRM_Contact_BAO_Relationship',
'FKClassName' => 'CRM_Contact_DAO_RelationshipType',
'html' => array(
'type' => 'Select',
'type' => CRM_Utils_Type::T_DATE,
'title' => ts('Relationship Start Date') ,
'description' => 'date when the relationship started',
+ 'table_name' => 'civicrm_relationship',
+ 'entity' => 'Relationship',
+ 'bao' => 'CRM_Contact_BAO_Relationship',
'html' => array(
'type' => 'Select Date',
) ,
'type' => CRM_Utils_Type::T_DATE,
'title' => ts('Relationship End Date') ,
'description' => 'date when the relationship ended',
+ 'table_name' => 'civicrm_relationship',
+ 'entity' => 'Relationship',
+ 'bao' => 'CRM_Contact_BAO_Relationship',
'html' => array(
'type' => 'Select Date',
) ,
'title' => ts('Relationship Is Active') ,
'description' => 'is the relationship active ?',
'default' => '1',
+ 'table_name' => 'civicrm_relationship',
+ 'entity' => 'Relationship',
+ 'bao' => 'CRM_Contact_BAO_Relationship',
'html' => array(
'type' => 'CheckBox',
) ,
'description' => 'Optional verbose description for the relationship.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_relationship',
+ 'entity' => 'Relationship',
+ 'bao' => 'CRM_Contact_BAO_Relationship',
'html' => array(
'type' => 'Text',
) ,
'description' => 'is contact a has permission to view / edit contact and
related data for contact b ?
',
+ 'table_name' => 'civicrm_relationship',
+ 'entity' => 'Relationship',
+ 'bao' => 'CRM_Contact_BAO_Relationship',
'html' => array(
'type' => 'CheckBox',
) ,
'description' => 'is contact b has permission to view / edit contact and
related data for contact a ?
',
+ 'table_name' => 'civicrm_relationship',
+ 'entity' => 'Relationship',
+ 'bao' => 'CRM_Contact_BAO_Relationship',
'html' => array(
'type' => 'CheckBox',
) ,
'title' => ts('Relationship Case') ,
'description' => 'FK to civicrm_case',
'default' => 'NULL',
+ 'table_name' => 'civicrm_relationship',
+ 'entity' => 'Relationship',
+ 'bao' => 'CRM_Contact_BAO_Relationship',
'FKClassName' => 'CRM_Case_DAO_Case',
) ,
);
*
* Generated from xml/schema/CRM/Contact/RelationshipType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:43f57afa1c349eaa69cb12143276f444)
+ * (GenCodeChecksum:fd2114d6f9d64c68e710c21230e73c5f)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Relationship Type ID') ,
'description' => 'Primary key',
'required' => true,
+ 'table_name' => 'civicrm_relationship_type',
+ 'entity' => 'RelationshipType',
+ 'bao' => 'CRM_Contact_BAO_RelationshipType',
) ,
'name_a_b' => array(
'name' => 'name_a_b',
'description' => 'name for relationship of contact_a to contact_b.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_relationship_type',
+ 'entity' => 'RelationshipType',
+ 'bao' => 'CRM_Contact_BAO_RelationshipType',
) ,
'label_a_b' => array(
'name' => 'label_a_b',
'description' => 'label for relationship of contact_a to contact_b.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_relationship_type',
+ 'entity' => 'RelationshipType',
+ 'bao' => 'CRM_Contact_BAO_RelationshipType',
) ,
'name_b_a' => array(
'name' => 'name_b_a',
'description' => 'Optional name for relationship of contact_b to contact_a.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_relationship_type',
+ 'entity' => 'RelationshipType',
+ 'bao' => 'CRM_Contact_BAO_RelationshipType',
) ,
'label_b_a' => array(
'name' => 'label_b_a',
'description' => 'Optional label for relationship of contact_b to contact_a.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_relationship_type',
+ 'entity' => 'RelationshipType',
+ 'bao' => 'CRM_Contact_BAO_RelationshipType',
) ,
'description' => array(
'name' => 'description',
'description' => 'Optional verbose description of the relationship type.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_relationship_type',
+ 'entity' => 'RelationshipType',
+ 'bao' => 'CRM_Contact_BAO_RelationshipType',
) ,
'contact_type_a' => array(
'name' => 'contact_type_a',
'description' => 'If defined, contact_a in a relationship of this type must be a specific contact_type.',
'maxlength' => 12,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_relationship_type',
+ 'entity' => 'RelationshipType',
+ 'bao' => 'CRM_Contact_BAO_RelationshipType',
'html' => array(
'type' => 'Select',
) ,
'description' => 'If defined, contact_b in a relationship of this type must be a specific contact_type.',
'maxlength' => 12,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_relationship_type',
+ 'entity' => 'RelationshipType',
+ 'bao' => 'CRM_Contact_BAO_RelationshipType',
'html' => array(
'type' => 'Select',
) ,
',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_relationship_type',
+ 'entity' => 'RelationshipType',
+ 'bao' => 'CRM_Contact_BAO_RelationshipType',
'html' => array(
'type' => 'Select',
) ,
',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_relationship_type',
+ 'entity' => 'RelationshipType',
+ 'bao' => 'CRM_Contact_BAO_RelationshipType',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Relationship Type is Reserved') ,
'description' => 'Is this relationship type a predefined system type (can not be changed or de-activated)?',
+ 'table_name' => 'civicrm_relationship_type',
+ 'entity' => 'RelationshipType',
+ 'bao' => 'CRM_Contact_BAO_RelationshipType',
) ,
'is_active' => array(
'name' => 'is_active',
'description' => 'Is this relationship type currently active (i.e. can be used when creating or editing relationships)?
',
'default' => '1',
+ 'table_name' => 'civicrm_relationship_type',
+ 'entity' => 'RelationshipType',
+ 'bao' => 'CRM_Contact_BAO_RelationshipType',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Contact/SavedSearch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1972403bedc8ca79674ce1b7f6f3760c)
+ * (GenCodeChecksum:80289cbf6e37633b88e216f1c456ed45)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Saved Search ID') ,
'description' => 'Saved Search ID',
'required' => true,
+ 'table_name' => 'civicrm_saved_search',
+ 'entity' => 'SavedSearch',
+ 'bao' => 'CRM_Contact_BAO_SavedSearch',
) ,
'form_values' => array(
'name' => 'form_values',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_saved_search',
+ 'entity' => 'SavedSearch',
+ 'bao' => 'CRM_Contact_BAO_SavedSearch',
) ,
'mapping_id' => array(
'name' => 'mapping_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mapping ID') ,
'description' => 'Foreign key to civicrm_mapping used for saved search-builder searches.',
+ 'table_name' => 'civicrm_saved_search',
+ 'entity' => 'SavedSearch',
+ 'bao' => 'CRM_Contact_BAO_SavedSearch',
'FKClassName' => 'CRM_Core_DAO_Mapping',
) ,
'search_custom_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Option Value ID') ,
'description' => 'Foreign key to civicrm_option value table used for saved custom searches.',
+ 'table_name' => 'civicrm_saved_search',
+ 'entity' => 'SavedSearch',
+ 'bao' => 'CRM_Contact_BAO_SavedSearch',
) ,
'where_clause' => array(
'name' => 'where_clause',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Where Clause') ,
'description' => 'the sql where clause if a saved search acl',
+ 'table_name' => 'civicrm_saved_search',
+ 'entity' => 'SavedSearch',
+ 'bao' => 'CRM_Contact_BAO_SavedSearch',
) ,
'select_tables' => array(
'name' => 'select_tables',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Select Tables') ,
'description' => 'the tables to be included in a select data',
+ 'table_name' => 'civicrm_saved_search',
+ 'entity' => 'SavedSearch',
+ 'bao' => 'CRM_Contact_BAO_SavedSearch',
) ,
'where_tables' => array(
'name' => 'where_tables',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Where Tables') ,
'description' => 'the tables to be included in the count statement',
+ 'table_name' => 'civicrm_saved_search',
+ 'entity' => 'SavedSearch',
+ 'bao' => 'CRM_Contact_BAO_SavedSearch',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Contact/SubscriptionHistory.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1aa5b138c1294eb320ce13ff98c124ef)
+ * (GenCodeChecksum:ec4a81f7d1a8999051ec7292f499b4c1)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Group Membership History ID') ,
'description' => 'Internal Id',
'required' => true,
+ 'table_name' => 'civicrm_subscription_history',
+ 'entity' => 'SubscriptionHistory',
+ 'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
) ,
'contact_id' => array(
'name' => 'contact_id',
'title' => ts('Contact ID') ,
'description' => 'Contact Id',
'required' => true,
+ 'table_name' => 'civicrm_subscription_history',
+ 'entity' => 'SubscriptionHistory',
+ 'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'group_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Group') ,
'description' => 'Group Id',
+ 'table_name' => 'civicrm_subscription_history',
+ 'entity' => 'SubscriptionHistory',
+ 'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
'FKClassName' => 'CRM_Contact_DAO_Group',
'html' => array(
'type' => 'Select',
'title' => ts('Group Membership Action Date') ,
'description' => 'Date of the (un)subscription',
'required' => true,
+ 'table_name' => 'civicrm_subscription_history',
+ 'entity' => 'SubscriptionHistory',
+ 'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
) ,
'method' => array(
'name' => 'method',
'description' => 'How the (un)subscription was triggered',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_subscription_history',
+ 'entity' => 'SubscriptionHistory',
+ 'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
'html' => array(
'type' => 'Select',
) ,
'description' => 'The state of the contact within the group',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_subscription_history',
+ 'entity' => 'SubscriptionHistory',
+ 'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
'pseudoconstant' => array(
'callback' => 'CRM_Core_SelectValues::groupContactStatus',
)
'description' => 'IP address or other tracking info',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_subscription_history',
+ 'entity' => 'SubscriptionHistory',
+ 'bao' => 'CRM_Contact_BAO_SubscriptionHistory',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Contribute/Contribution.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f4c8d34b6650ac5eafbfbd3d6b8a51ca)
+ * (GenCodeChecksum:f066fa296dca6ef9876c7372a61c1a4a)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
) ,
'contribution_contact_id' => array(
'name' => 'contact_id',
'headerPattern' => '/contact(.?id)?/i',
'dataPattern' => '/^\d+$/',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => array(
'type' => 'EntityRef',
'where' => 'civicrm_contribution.financial_type_id',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'html' => array(
'type' => 'Select',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
'html' => array(
'type' => 'Select',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Payment Method') ,
'description' => 'FK to Payment Instrument',
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '/receive(.?date)?/i',
'dataPattern' => '/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Select Date',
+ 'format' => 'activityDateTime',
) ,
) ,
'non_deductible_amount' => array(
'headerPattern' => '/non?.?deduct/i',
'dataPattern' => '/^\d+(\.\d{2})?$/',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/^total|(.?^am(ou)?nt)/i',
'dataPattern' => '/^\d+(\.\d{2})?$/',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/fee(.?am(ou)?nt)?/i',
'dataPattern' => '/^\d+(\.\d{2})?$/',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/net(.?am(ou)?nt)?/i',
'dataPattern' => '/^\d+(\.\d{2})?$/',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/tr(ansactio|x)n(.?id)?/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/invoice(.?id)?/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Text',
) ,
'dataPattern' => '/^[A-Z]{3}$/i',
'export' => true,
'default' => 'NULL',
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '/cancel(.?date)?/i',
'dataPattern' => '/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Select Date',
+ 'format' => 'activityDateTime',
) ,
) ,
'cancel_reason' => array(
'headerPattern' => '/(cancel.?)?reason/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/receipt(.?date)?/i',
'dataPattern' => '/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Select Date',
+ 'format' => 'activityDateTime',
) ,
) ,
'thankyou_date' => array(
'headerPattern' => '/thank(s|(.?you))?(.?date)?/i',
'dataPattern' => '/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Select Date',
+ 'format' => 'activityDateTime',
) ,
) ,
'contribution_source' => array(
'headerPattern' => '/source/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Recurring Contribution ID') ,
'description' => 'Conditional foreign key to civicrm_contribution_recur id. Each contribution made in connection with a recurring contribution carries a foreign key to the recurring contribution record. This assumes we can track these processor initiated events.',
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'FKClassName' => 'CRM_Contribute_DAO_ContributionRecur',
) ,
'is_test' => array(
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'CheckBox',
) ,
'dataPattern' => '',
'export' => true,
'default' => '1',
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contribution Address') ,
'description' => 'Conditional foreign key to civicrm_address.id. We insert an address record for each contribution when we have associated billing name and address data.',
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'FKClassName' => 'CRM_Core_DAO_Address',
) ,
'check_number' => array(
'headerPattern' => '/check(.?number)?/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'html' => array(
'type' => 'Select',
'headerPattern' => '/creditnote(.?id)?/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/tax(.?am(ou)?nt)?/i',
'dataPattern' => '/^\d+(\.\d{2})?$/',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/revenue(.?date)?/i',
'dataPattern' => '/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/',
'export' => true,
+ 'table_name' => 'civicrm_contribution',
+ 'entity' => 'Contribution',
+ 'bao' => 'CRM_Contribute_BAO_Contribution',
'html' => array(
'type' => 'Select Date',
+ 'format' => 'activityDateTime',
) ,
) ,
);
*
* Generated from xml/schema/CRM/Contribute/ContributionPage.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4948188e5ba353c75f5c3fe00e67a5ea)
+ * (GenCodeChecksum:6b57cbb621c3ab76d60705c4aad97eb3)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Contribution Page ID') ,
'description' => 'Contribution Id',
'required' => true,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'title' => array(
'name' => 'title',
'description' => 'Contribution Page title. For top of page display',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'intro_text' => array(
'name' => 'intro_text',
'description' => 'Text and html allowed. Displayed below title.',
'rows' => 6,
'cols' => 50,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
'html' => array(
'type' => 'RichTextEditor',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Financial Type') ,
'description' => 'default financial type assigned to contributions submitted via this page, e.g. Contribution, Campaign Contribution',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'html' => array(
'type' => 'Select',
'description' => 'Payment Processors configured for this contribution Page',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Credit Card Only?') ,
'description' => 'if true - processing logic must reject transaction at confirmation stage if pay method != credit card',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'is_monetary' => array(
'name' => 'is_monetary',
'title' => ts('Is Monetary') ,
'description' => 'if true - allows real-time monetary transactions otherwise non-monetary transactions',
'default' => '1',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'is_recur' => array(
'name' => 'is_recur',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Recurring') ,
'description' => 'if true - allows recurring contributions, valid only for PayPal_Standard',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'is_confirm_enabled' => array(
'name' => 'is_confirm_enabled',
'title' => ts('Confirmation Page?') ,
'description' => 'if false, the confirm page in contribution pages gets skipped',
'default' => '1',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'recur_frequency_unit' => array(
'name' => 'recur_frequency_unit',
'description' => 'Supported recurring frequency units.',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'is_recur_interval' => array(
'name' => 'is_recur_interval',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Support Recurring Intervals') ,
'description' => 'if true - supports recurring intervals',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'is_recur_installments' => array(
'name' => 'is_recur_installments',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Recurring Installments?') ,
'description' => 'if true - asks user for recurring installments',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'adjust_recur_start_date' => array(
'name' => 'adjust_recur_start_date',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Adjust Recurring Start Date') ,
'description' => 'if true - user is able to adjust payment start date',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'is_pay_later' => array(
'name' => 'is_pay_later',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Pay Later') ,
'description' => 'if true - allows the user to send payment directly to the org later',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'pay_later_text' => array(
'name' => 'pay_later_text',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Pay Later Text') ,
'description' => 'The text displayed to the user in the main form',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'pay_later_receipt' => array(
'name' => 'pay_later_receipt',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Pay Later Receipt') ,
'description' => 'The receipt sent to the user instead of the normal receipt text',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'is_partial_payment' => array(
'name' => 'is_partial_payment',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Allow Partial Payment') ,
'description' => 'is partial payment enabled for this online contribution page',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'initial_amount_label' => array(
'name' => 'initial_amount_label',
'description' => 'Initial amount label for partial payment',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'initial_amount_help_text' => array(
'name' => 'initial_amount_help_text',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Initial Amount Help Text') ,
'description' => 'Initial amount help text for partial payment',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'min_initial_amount' => array(
'name' => 'min_initial_amount',
20,
2
) ,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'is_allow_other_amount' => array(
'name' => 'is_allow_other_amount',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Allow Other Amounts') ,
'description' => 'if true, page will include an input text field where user can enter their own amount',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'default_amount_id' => array(
'name' => 'default_amount_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Default Amount') ,
'description' => 'FK to civicrm_option_value.',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'min_amount' => array(
'name' => 'min_amount',
20,
2
) ,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'max_amount' => array(
'name' => 'max_amount',
20,
2
) ,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'goal_amount' => array(
'name' => 'goal_amount',
20,
2
) ,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'thankyou_title' => array(
'name' => 'thankyou_title',
'description' => 'Title for Thank-you page (header title tag, and display at the top of the page).',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'thankyou_text' => array(
'name' => 'thankyou_text',
'description' => 'text and html allowed. displayed above result on success page',
'rows' => 8,
'cols' => 60,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
'html' => array(
'type' => 'RichTextEditor',
) ,
'description' => 'Text and html allowed. displayed at the bottom of the success page. Common usage is to include link(s) to other pages such as tell-a-friend, etc.',
'rows' => 8,
'cols' => 60,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
'html' => array(
'type' => 'RichTextEditor',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Send email Receipt') ,
'description' => 'if true, receipt is automatically emailed to contact on success',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'receipt_from_name' => array(
'name' => 'receipt_from_name',
'description' => 'FROM email name used for receipts generated by contributions to this contribution page.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'receipt_from_email' => array(
'name' => 'receipt_from_email',
'description' => 'FROM email address used for receipts generated by contributions to this contribution page.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'cc_receipt' => array(
'name' => 'cc_receipt',
'description' => 'comma-separated list of email addresses to cc each time a receipt is sent',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'bcc_receipt' => array(
'name' => 'bcc_receipt',
'description' => 'comma-separated list of email addresses to bcc each time a receipt is sent',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'receipt_text' => array(
'name' => 'receipt_text',
'description' => 'text to include above standard receipt info on receipt email. emails are text-only, so do not allow html for now',
'rows' => 6,
'cols' => 50,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Page Active?') ,
'description' => 'Is this property active?',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'footer_text' => array(
'name' => 'footer_text',
'description' => 'Text and html allowed. Displayed at the bottom of the first page of the contribution wizard.',
'rows' => 6,
'cols' => 50,
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
'html' => array(
'type' => 'RichTextEditor',
) ,
'title' => ts('Is Amount Block Active?') ,
'description' => 'Is this property active?',
'default' => '1',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'start_date' => array(
'name' => 'start_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Contribution Page Start Date') ,
'description' => 'Date and time that this page starts.',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'end_date' => array(
'name' => 'end_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Contribution Page End Date') ,
'description' => 'Date and time that this page ends. May be NULL if no defined end date/time',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'created_id' => array(
'name' => 'created_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contribution Page Created By') ,
'description' => 'FK to civicrm_contact, who created this contribution page',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'created_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Contribution Page Created Date') ,
'description' => 'Date and time that contribution page was created.',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'currency' => array(
'name' => 'currency',
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
'default' => 'NULL',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contribution Page Campaign ID') ,
'description' => 'The campaign for which we are collecting contributions with this page.',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'pseudoconstant' => array(
'table' => 'civicrm_campaign',
'title' => ts('Is Contribution Page Shared?') ,
'description' => 'Can people share the contribution page through social media?',
'default' => '1',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
'is_billing_required' => array(
'name' => 'is_billing_required',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is billing block required') ,
'description' => 'if true - billing block is required for online contribution page',
+ 'table_name' => 'civicrm_contribution_page',
+ 'entity' => 'ContributionPage',
+ 'bao' => 'CRM_Contribute_BAO_ContributionPage',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Contribute/ContributionProduct.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c40733f5ba2ac9d433e25758534a7f2e)
+ * (GenCodeChecksum:79de7abf1bfa670fa9cf3d43e6818bc9)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contribution Product ID') ,
'required' => true,
+ 'table_name' => 'civicrm_contribution_product',
+ 'entity' => 'ContributionProduct',
+ 'bao' => 'CRM_Contribute_DAO_ContributionProduct',
) ,
'product_id' => array(
'name' => 'product_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Product ID') ,
'required' => true,
+ 'table_name' => 'civicrm_contribution_product',
+ 'entity' => 'ContributionProduct',
+ 'bao' => 'CRM_Contribute_DAO_ContributionProduct',
) ,
'contribution_id' => array(
'name' => 'contribution_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contribution ID') ,
'required' => true,
+ 'table_name' => 'civicrm_contribution_product',
+ 'entity' => 'ContributionProduct',
+ 'bao' => 'CRM_Contribute_DAO_ContributionProduct',
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
) ,
'product_option' => array(
'where' => 'civicrm_contribution_product.product_option',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contribution_product',
+ 'entity' => 'ContributionProduct',
+ 'bao' => 'CRM_Contribute_DAO_ContributionProduct',
) ,
'quantity' => array(
'name' => 'quantity',
'where' => 'civicrm_contribution_product.quantity',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contribution_product',
+ 'entity' => 'ContributionProduct',
+ 'bao' => 'CRM_Contribute_DAO_ContributionProduct',
) ,
'fulfilled_date' => array(
'name' => 'fulfilled_date',
'where' => 'civicrm_contribution_product.fulfilled_date',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contribution_product',
+ 'entity' => 'ContributionProduct',
+ 'bao' => 'CRM_Contribute_DAO_ContributionProduct',
) ,
'contribution_start_date' => array(
'name' => 'start_date',
'where' => 'civicrm_contribution_product.start_date',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contribution_product',
+ 'entity' => 'ContributionProduct',
+ 'bao' => 'CRM_Contribute_DAO_ContributionProduct',
) ,
'contribution_end_date' => array(
'name' => 'end_date',
'where' => 'civicrm_contribution_product.end_date',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contribution_product',
+ 'entity' => 'ContributionProduct',
+ 'bao' => 'CRM_Contribute_DAO_ContributionProduct',
) ,
'comment' => array(
'name' => 'comment',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Premium comment') ,
+ 'table_name' => 'civicrm_contribution_product',
+ 'entity' => 'ContributionProduct',
+ 'bao' => 'CRM_Contribute_DAO_ContributionProduct',
) ,
'financial_type_id' => array(
'name' => 'financial_type_id',
'title' => ts('Financial Type') ,
'description' => 'FK to Financial Type(for membership price sets only).',
'default' => 'NULL',
+ 'table_name' => 'civicrm_contribution_product',
+ 'entity' => 'ContributionProduct',
+ 'bao' => 'CRM_Contribute_DAO_ContributionProduct',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'pseudoconstant' => array(
'table' => 'civicrm_financial_type',
*
* Generated from xml/schema/CRM/Contribute/ContributionRecur.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0d69452bb0935f1146d7f5fdaff295bc)
+ * (GenCodeChecksum:903092052cbb36344deb3d866e823a0c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Recurring Contribution ID') ,
'description' => 'Contribution Recur ID',
'required' => true,
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
) ,
'contact_id' => array(
'name' => 'contact_id',
'title' => ts('Contact ID') ,
'description' => 'Foreign key to civicrm_contact.id .',
'required' => true,
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'amount' => array(
20,
2
) ,
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Text',
) ,
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
'default' => 'NULL',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Select',
) ,
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'default' => 'month',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Interval (number of units)') ,
'description' => 'Number of time units for recurrence of payment.',
'required' => true,
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Number of Installments') ,
'description' => 'Total number of payments to be made. Set this to 0 if this is an open-ended commitment i.e. no set end date.',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Recurring Contribution Started Date') ,
'description' => 'The date the first scheduled recurring contribution occurs.',
'required' => true,
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Select Date',
) ,
'title' => ts('Recurring Contribution Created Date') ,
'description' => 'When this recurring contribution record was created.',
'required' => true,
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Select Date',
) ,
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Recurring Contribution Modified Date') ,
'description' => 'Last updated date for this record. mostly the last time a payment was received',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Select Date',
) ,
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Recurring Contribution Cancel Date') ,
'description' => 'Date this recurring contribution was cancelled by contributor- if we can get access to it',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Select Date',
) ,
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Recurring Contribution End Date') ,
'description' => 'Date this recurring contribution finished successfully',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Select Date',
) ,
'description' => 'Possibly needed to store a unique identifier for this recurring payment order - if this is available from the processor??',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
) ,
'payment_token_id' => array(
'name' => 'payment_token_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Payment Token ID') ,
'description' => 'Optionally used to store a link to a payment token used for this recurring contribution.',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'FKClassName' => 'CRM_Financial_DAO_PaymentToken',
) ,
'trxn_id' => array(
'description' => 'unique transaction id. may be processor id, bank id + trans id, or account number + check number... depending on payment_method',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
) ,
'invoice_id' => array(
'name' => 'invoice_id',
'description' => 'unique invoice id, system generated or passed in',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
) ,
'contribution_status_id' => array(
'name' => 'contribution_status_id',
'dataPattern' => '',
'export' => true,
'default' => '1',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'pseudoconstant' => array(
'optionGroupName' => 'contribution_status',
'optionEditPath' => 'civicrm/admin/options/contribution_status',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'CheckBox',
) ,
'description' => 'Day in the period when the payment should be charged e.g. 1st of month, 15th etc.',
'required' => true,
'default' => '1',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Next Scheduled Contribution Date') ,
'description' => 'Next scheduled date',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Select Date',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Number of Failures') ,
'description' => 'Number of failed charge attempts since last success. Business rule could be set to deactivate on more than x failures.',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Retry Failed Attempt Date') ,
'description' => 'Date to retry failed attempt',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Select Date',
) ,
'title' => ts('Auto Renew') ,
'description' => 'Some systems allow contributor to set a number of installments - but then auto-renew the subscription or commitment if they do not cancel.',
'required' => true,
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Payment Processor') ,
'description' => 'Foreign key to civicrm_payment_processor.id',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor',
) ,
'financial_type_id' => array(
'where' => 'civicrm_contribution_recur.financial_type_id',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'pseudoconstant' => array(
'table' => 'civicrm_financial_type',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Payment Method') ,
'description' => 'FK to Payment Instrument',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'pseudoconstant' => array(
'table' => 'civicrm_campaign',
'title' => ts('Send email Receipt?') ,
'description' => 'if true, receipt is automatically emailed to contact on each successful payment',
'default' => '1',
+ 'table_name' => 'civicrm_contribution_recur',
+ 'entity' => 'ContributionRecur',
+ 'bao' => 'CRM_Contribute_BAO_ContributionRecur',
'html' => array(
'type' => 'CheckBox',
) ,
*
* Generated from xml/schema/CRM/Contribute/ContributionSoft.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ea8abcdf53630758c538439bb186c717)
+ * (GenCodeChecksum:a5b8a7e4a71da5c1b8ac736dbb96d04c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_contribution_soft',
+ 'entity' => 'ContributionSoft',
+ 'bao' => 'CRM_Contribute_BAO_ContributionSoft',
) ,
'contribution_id' => array(
'name' => 'contribution_id',
'title' => ts('Soft Contribution - Contribution') ,
'description' => 'FK to contribution table.',
'required' => true,
+ 'table_name' => 'civicrm_contribution_soft',
+ 'entity' => 'ContributionSoft',
+ 'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
) ,
'contribution_soft_contact_id' => array(
'headerPattern' => '/contact(.?id)?/i',
'dataPattern' => '/^\d+$/',
'export' => true,
+ 'table_name' => 'civicrm_contribution_soft',
+ 'entity' => 'ContributionSoft',
+ 'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'amount' => array(
'headerPattern' => '/total(.?am(ou)?nt)?/i',
'dataPattern' => '/^\d+(\.\d{2})?$/',
'export' => true,
+ 'table_name' => 'civicrm_contribution_soft',
+ 'entity' => 'ContributionSoft',
+ 'bao' => 'CRM_Contribute_BAO_ContributionSoft',
) ,
'currency' => array(
'name' => 'currency',
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
'default' => 'NULL',
+ 'table_name' => 'civicrm_contribution_soft',
+ 'entity' => 'ContributionSoft',
+ 'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Soft Contribution PCP') ,
'description' => 'FK to civicrm_pcp.id',
'default' => 'NULL',
+ 'table_name' => 'civicrm_contribution_soft',
+ 'entity' => 'ContributionSoft',
+ 'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'FKClassName' => 'CRM_PCP_DAO_PCP',
'pseudoconstant' => array(
'table' => 'civicrm_pcp',
'name' => 'pcp_display_in_roll',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Soft Contribution Display on PCP') ,
+ 'table_name' => 'civicrm_contribution_soft',
+ 'entity' => 'ContributionSoft',
+ 'bao' => 'CRM_Contribute_BAO_ContributionSoft',
) ,
'pcp_roll_nickname' => array(
'name' => 'pcp_roll_nickname',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'NULL',
+ 'table_name' => 'civicrm_contribution_soft',
+ 'entity' => 'ContributionSoft',
+ 'bao' => 'CRM_Contribute_BAO_ContributionSoft',
) ,
'pcp_personal_note' => array(
'name' => 'pcp_personal_note',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'NULL',
+ 'table_name' => 'civicrm_contribution_soft',
+ 'entity' => 'ContributionSoft',
+ 'bao' => 'CRM_Contribute_BAO_ContributionSoft',
) ,
'soft_credit_type_id' => array(
'name' => 'soft_credit_type_id',
'title' => ts('Soft Credit Type') ,
'description' => 'Soft Credit Type ID.Implicit FK to civicrm_option_value where option_group = soft_credit_type.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_contribution_soft',
+ 'entity' => 'ContributionSoft',
+ 'bao' => 'CRM_Contribute_BAO_ContributionSoft',
'pseudoconstant' => array(
'optionGroupName' => 'soft_credit_type',
'optionEditPath' => 'civicrm/admin/options/soft_credit_type',
*
* Generated from xml/schema/CRM/Contribute/Premium.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c84ce7b79339fc7842fe872fe75eccc1)
+ * (GenCodeChecksum:de907699739879536d4c8743092cb6c9)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Premium ID') ,
'required' => true,
+ 'table_name' => 'civicrm_premiums',
+ 'entity' => 'Premium',
+ 'bao' => 'CRM_Contribute_BAO_Premium',
) ,
'entity_table' => array(
'name' => 'entity_table',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_premiums',
+ 'entity' => 'Premium',
+ 'bao' => 'CRM_Contribute_BAO_Premium',
) ,
'entity_id' => array(
'name' => 'entity_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Premium entity ID') ,
'required' => true,
+ 'table_name' => 'civicrm_premiums',
+ 'entity' => 'Premium',
+ 'bao' => 'CRM_Contribute_BAO_Premium',
) ,
'premiums_active' => array(
'name' => 'premiums_active',
'title' => ts('Is Premium Active?') ,
'description' => 'Is the Premiums feature enabled for this page?',
'required' => true,
+ 'table_name' => 'civicrm_premiums',
+ 'entity' => 'Premium',
+ 'bao' => 'CRM_Contribute_BAO_Premium',
) ,
'premiums_intro_title' => array(
'name' => 'premiums_intro_title',
'description' => 'Title for Premiums section.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_premiums',
+ 'entity' => 'Premium',
+ 'bao' => 'CRM_Contribute_BAO_Premium',
) ,
'premiums_intro_text' => array(
'name' => 'premiums_intro_text',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Premium Introductory Text') ,
'description' => 'Displayed in <div> at top of Premiums section of page. Text and HTML allowed.',
+ 'table_name' => 'civicrm_premiums',
+ 'entity' => 'Premium',
+ 'bao' => 'CRM_Contribute_BAO_Premium',
) ,
'premiums_contact_email' => array(
'name' => 'premiums_contact_email',
'description' => 'This email address is included in receipts if it is populated and a premium has been selected.',
'maxlength' => 100,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_premiums',
+ 'entity' => 'Premium',
+ 'bao' => 'CRM_Contribute_BAO_Premium',
) ,
'premiums_contact_phone' => array(
'name' => 'premiums_contact_phone',
'description' => 'This phone number is included in receipts if it is populated and a premium has been selected.',
'maxlength' => 50,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_premiums',
+ 'entity' => 'Premium',
+ 'bao' => 'CRM_Contribute_BAO_Premium',
) ,
'premiums_display_min_contribution' => array(
'name' => 'premiums_display_min_contribution',
'title' => ts('Display Minimum Contribution?') ,
'description' => 'Boolean. Should we automatically display minimum contribution amount text after the premium descriptions.',
'required' => true,
+ 'table_name' => 'civicrm_premiums',
+ 'entity' => 'Premium',
+ 'bao' => 'CRM_Contribute_BAO_Premium',
) ,
'premiums_nothankyou_label' => array(
'name' => 'premiums_nothankyou_label',
'description' => 'Label displayed for No Thank-you option in premiums block (e.g. No thank you)',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_premiums',
+ 'entity' => 'Premium',
+ 'bao' => 'CRM_Contribute_BAO_Premium',
) ,
'premiums_nothankyou_position' => array(
'name' => 'premiums_nothankyou_position',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('No Thank-you Position') ,
'default' => '1',
+ 'table_name' => 'civicrm_premiums',
+ 'entity' => 'Premium',
+ 'bao' => 'CRM_Contribute_BAO_Premium',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Contribute/PremiumsProduct.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3580529cebca0659c28e8d4f55015c22)
+ * (GenCodeChecksum:1b580dfa766db80a9b2faaf4e8037bb7)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Premium Product ID') ,
'description' => 'Contribution ID',
'required' => true,
+ 'table_name' => 'civicrm_premiums_product',
+ 'entity' => 'PremiumsProduct',
+ 'bao' => 'CRM_Contribute_DAO_PremiumsProduct',
) ,
'premiums_id' => array(
'name' => 'premiums_id',
'title' => ts('Premium') ,
'description' => 'Foreign key to premiums settings record.',
'required' => true,
+ 'table_name' => 'civicrm_premiums_product',
+ 'entity' => 'PremiumsProduct',
+ 'bao' => 'CRM_Contribute_DAO_PremiumsProduct',
'FKClassName' => 'CRM_Contribute_DAO_Premium',
) ,
'product_id' => array(
'title' => ts('Product') ,
'description' => 'Foreign key to each product object.',
'required' => true,
+ 'table_name' => 'civicrm_premiums_product',
+ 'entity' => 'PremiumsProduct',
+ 'bao' => 'CRM_Contribute_DAO_PremiumsProduct',
'FKClassName' => 'CRM_Contribute_DAO_Product',
) ,
'weight' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Order') ,
'required' => true,
+ 'table_name' => 'civicrm_premiums_product',
+ 'entity' => 'PremiumsProduct',
+ 'bao' => 'CRM_Contribute_DAO_PremiumsProduct',
) ,
'financial_type_id' => array(
'name' => 'financial_type_id',
'title' => ts('Financial Type') ,
'description' => 'FK to Financial Type.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_premiums_product',
+ 'entity' => 'PremiumsProduct',
+ 'bao' => 'CRM_Contribute_DAO_PremiumsProduct',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'pseudoconstant' => array(
'table' => 'civicrm_financial_type',
*
* Generated from xml/schema/CRM/Contribute/Product.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cb23fc697bf604c7303bd7c0994635cc)
+ * (GenCodeChecksum:664c12f246e380cf7761283a565a1bab)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Product ID') ,
'required' => true,
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
'product_name' => array(
'name' => 'name',
'where' => 'civicrm_product.name',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
'description' => array(
'name' => 'description',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Description') ,
'description' => 'Optional description of the product/premium.',
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
'sku' => array(
'name' => 'sku',
'where' => 'civicrm_product.sku',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
'options' => array(
'name' => 'options',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Options') ,
'description' => 'Store comma-delimited list of color, size, etc. options for the product.',
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
'image' => array(
'name' => 'image',
'description' => 'Full or relative URL to uploaded image - fullsize.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
'thumbnail' => array(
'name' => 'thumbnail',
'description' => 'Full or relative URL to image thumbnail.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
'price' => array(
'name' => 'price',
20,
2
) ,
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
'currency' => array(
'name' => 'currency',
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
'default' => 'NULL',
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Financial Type') ,
'description' => 'FK to Financial Type.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'pseudoconstant' => array(
'table' => 'civicrm_financial_type',
20,
2
) ,
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
'cost' => array(
'name' => 'cost',
20,
2
) ,
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Is Active') ,
'description' => 'Disabling premium removes it from the premiums_premium join table below.',
'required' => true,
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
'period_type' => array(
'name' => 'period_type',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'default' => 'rolling',
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Fixed Period Start Day') ,
'description' => 'Month and day (MMDD) that fixed period type subscription or membership starts.',
'default' => '0101',
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
'duration_unit' => array(
'name' => 'duration_unit',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'default' => 'year',
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Duration Interval') ,
'description' => 'Number of units for total duration of subscription, service, membership (e.g. 12 Months).',
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
'frequency_unit' => array(
'name' => 'frequency_unit',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'default' => 'month',
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Frequency Interval') ,
'description' => 'Number of units for delivery frequency of subscription, service, membership (e.g. every 3 Months).',
+ 'table_name' => 'civicrm_product',
+ 'entity' => 'Product',
+ 'bao' => 'CRM_Contribute_DAO_Product',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Contribute/Widget.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0c274425d81e53c5a1f1a4f4e3078ce3)
+ * (GenCodeChecksum:ab7155865feec4576bd385395739a49a)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Widget ID') ,
'description' => 'Contribution Id',
'required' => true,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'contribution_page_id' => array(
'name' => 'contribution_page_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contribution Page') ,
'description' => 'The Contribution Page which triggered this contribution',
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
) ,
'is_active' => array(
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Enabled?') ,
'description' => 'Is this property active?',
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'title' => array(
'name' => 'title',
'description' => 'Widget title.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'url_logo' => array(
'name' => 'url_logo',
'description' => 'URL to Widget logo',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'button_title' => array(
'name' => 'button_title',
'description' => 'Button title.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'about' => array(
'name' => 'about',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Description') ,
'description' => 'About description.',
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'url_homepage' => array(
'name' => 'url_homepage',
'description' => 'URL to Homepage.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'color_title' => array(
'name' => 'color_title',
'title' => ts('Title Color') ,
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'color_button' => array(
'name' => 'color_button',
'title' => ts('Button Colour') ,
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'color_bar' => array(
'name' => 'color_bar',
'title' => ts('Bar Color') ,
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'color_main_text' => array(
'name' => 'color_main_text',
'title' => ts('Main Text Color') ,
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'color_main' => array(
'name' => 'color_main',
'title' => ts('Main Colour') ,
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'color_main_bg' => array(
'name' => 'color_main_bg',
'title' => ts('Backgroup Color') ,
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'color_bg' => array(
'name' => 'color_bg',
'title' => ts('Other Backgroun Colour') ,
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'color_about_link' => array(
'name' => 'color_about_link',
'title' => ts('About Link Colour') ,
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
'color_homepage_link' => array(
'name' => 'color_homepage_link',
'title' => ts('Homepage Link Colour') ,
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_contribution_widget',
+ 'entity' => 'Widget',
+ 'bao' => 'CRM_Contribute_BAO_Widget',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
'objectName' => $klass,
'labelName' => substr($name, 8),
'className' => $this->classNames[$name],
- 'baopath' => $baoPath . $klass . '.php',
'bao' => (file_exists($baoPath . $klass . '.php') ? str_replace('DAO', 'BAO', $this->classNames[$name]) : $this->classNames[$name]),
'entity' => $klass,
'attributes_simple' => trim($database['tableAttributes_simple']),
*
* Generated from xml/schema/CRM/Core/ActionLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:721c03b2046e11d8774a5e14204a28d8)
+ * (GenCodeChecksum:606dca7d7eee4bb6a8e1fd397fa47c70)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Action Schedule ID') ,
'required' => true,
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
) ,
'contact_id' => array(
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Action Schedule Contact ID') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'entity_id' => array(
'title' => ts('Entity ID') ,
'description' => 'FK to id of the entity that the action was performed on. Pseudo - FK.',
'required' => true,
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
) ,
'entity_table' => array(
'name' => 'entity_table',
'description' => 'name of the entity table for the above id, e.g. civicrm_activity, civicrm_participant',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
) ,
'action_schedule_id' => array(
'name' => 'action_schedule_id',
'title' => ts('Schedule') ,
'description' => 'FK to the action schedule that this action originated from.',
'required' => true,
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
'FKClassName' => 'CRM_Core_DAO_ActionSchedule',
) ,
'action_date_time' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Action Date And Time') ,
'description' => 'date time that the action was performed on.',
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
) ,
'is_error' => array(
'name' => 'is_error',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Error?') ,
'description' => 'Was there any error sending the reminder?',
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
) ,
'message' => array(
'name' => 'message',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Message') ,
'description' => 'Description / text in case there was an error encountered.',
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
) ,
'repetition_number' => array(
'name' => 'repetition_number',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Repetition Number') ,
'description' => 'Keeps track of the sequence number of this repetition.',
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
) ,
'reference_date' => array(
'name' => 'reference_date',
'title' => ts('Reference Date') ,
'description' => 'Stores the date from the entity which triggered this reminder action (e.g. membership.end_date for most membership renewal reminders)',
'default' => 'NULL',
+ 'table_name' => 'civicrm_action_log',
+ 'entity' => 'ActionLog',
+ 'bao' => 'CRM_Core_BAO_ActionLog',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/ActionMapping.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cf61768a3400766af641f4d6e9f6cba8)
+ * (GenCodeChecksum:ad6e23eb5487a699b76678891df6175e)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Action Mapping ID') ,
'required' => true,
+ 'table_name' => 'civicrm_action_mapping',
+ 'entity' => 'ActionMapping',
+ 'bao' => 'CRM_Core_DAO_ActionMapping',
) ,
'entity' => array(
'name' => 'entity',
'description' => 'Entity for which the reminder is created',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_mapping',
+ 'entity' => 'ActionMapping',
+ 'bao' => 'CRM_Core_DAO_ActionMapping',
) ,
'entity_value' => array(
'name' => 'entity_value',
'description' => 'Entity value',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_mapping',
+ 'entity' => 'ActionMapping',
+ 'bao' => 'CRM_Core_DAO_ActionMapping',
) ,
'entity_value_label' => array(
'name' => 'entity_value_label',
'description' => 'Entity value label',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_mapping',
+ 'entity' => 'ActionMapping',
+ 'bao' => 'CRM_Core_DAO_ActionMapping',
) ,
'entity_status' => array(
'name' => 'entity_status',
'description' => 'Entity status',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_mapping',
+ 'entity' => 'ActionMapping',
+ 'bao' => 'CRM_Core_DAO_ActionMapping',
) ,
'entity_status_label' => array(
'name' => 'entity_status_label',
'description' => 'Entity status label',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_mapping',
+ 'entity' => 'ActionMapping',
+ 'bao' => 'CRM_Core_DAO_ActionMapping',
) ,
'entity_date_start' => array(
'name' => 'entity_date_start',
'description' => 'Entity date',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_mapping',
+ 'entity' => 'ActionMapping',
+ 'bao' => 'CRM_Core_DAO_ActionMapping',
) ,
'entity_date_end' => array(
'name' => 'entity_date_end',
'description' => 'Entity date',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_mapping',
+ 'entity' => 'ActionMapping',
+ 'bao' => 'CRM_Core_DAO_ActionMapping',
) ,
'entity_recipient' => array(
'name' => 'entity_recipient',
'description' => 'Entity recipient',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_mapping',
+ 'entity' => 'ActionMapping',
+ 'bao' => 'CRM_Core_DAO_ActionMapping',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/ActionSchedule.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:06960967b276e6b2b7cd31a7ded61c03)
+ * (GenCodeChecksum:b2eee0985301a53fa1b3f716da197103)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Action Schedule ID') ,
'required' => true,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'name' => array(
'name' => 'name',
'description' => 'Name of the action(reminder)',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'title' => array(
'name' => 'title',
'description' => 'Title of the action(reminder)',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'recipient' => array(
'name' => 'recipient',
'description' => 'Recipient',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'limit_to' => array(
'name' => 'limit_to',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Limit To') ,
'description' => 'Is this the recipient criteria limited to OR in addition to?',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'entity_value' => array(
'name' => 'entity_value',
'description' => 'Entity value',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'entity_status' => array(
'name' => 'entity_status',
'description' => 'Entity status',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'start_action_offset' => array(
'name' => 'start_action_offset',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Start Action Offset') ,
'description' => 'Reminder Interval.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'start_action_unit' => array(
'name' => 'start_action_unit',
'description' => 'Time units for reminder.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
'html' => array(
'type' => 'Select',
) ,
'description' => 'Reminder Action',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'start_action_date' => array(
'name' => 'start_action_date',
'description' => 'Entity date',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'is_repeat' => array(
'name' => 'is_repeat',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Repeat?') ,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'repetition_frequency_unit' => array(
'name' => 'repetition_frequency_unit',
'description' => 'Time units for repetition of reminder.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Repetition Frequency Interval') ,
'description' => 'Time interval for repeating the reminder.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'end_frequency_unit' => array(
'name' => 'end_frequency_unit',
'description' => 'Time units till repetition of reminder.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('End Frequency Interval') ,
'description' => 'Time interval till repeating the reminder.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'end_action' => array(
'name' => 'end_action',
'description' => 'Reminder Action till repeating the reminder.',
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'end_date' => array(
'name' => 'end_date',
'description' => 'Entity end date',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Schedule is Active?') ,
'description' => 'Is this option active?',
'default' => '1',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'recipient_manual' => array(
'name' => 'recipient_manual',
'description' => 'Contact IDs to which reminder should be sent.',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'recipient_listing' => array(
'name' => 'recipient_listing',
'description' => 'listing based on recipient field.',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'body_text' => array(
'name' => 'body_text',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Reminder Text') ,
'description' => 'Body of the mailing in text format.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'body_html' => array(
'name' => 'body_html',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Reminder HTML') ,
'description' => 'Body of the mailing in html format.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'sms_body_text' => array(
'name' => 'sms_body_text',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('SMS Reminder Text') ,
'description' => 'Content of the SMS text.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'subject' => array(
'name' => 'subject',
'description' => 'Subject of mailing',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'record_activity' => array(
'name' => 'record_activity',
'title' => ts('Record Activity for Reminder?') ,
'description' => 'Record Activity for this reminder?',
'default' => 'NULL',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'mapping_id' => array(
'name' => 'mapping_id',
'description' => 'Name/ID of the mapping to use on this table',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'group_id' => array(
'name' => 'group_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Reminder Group') ,
'description' => 'FK to Group',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
'FKClassName' => 'CRM_Contact_DAO_Group',
'html' => array(
'type' => 'Select',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Reminder Template') ,
'description' => 'FK to the message template.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
'FKClassName' => 'CRM_Core_DAO_MessageTemplate',
) ,
'sms_template_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('SMS Reminder Template') ,
'description' => 'FK to the message template.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
'FKClassName' => 'CRM_Core_DAO_MessageTemplate',
) ,
'absolute_date' => array(
'type' => CRM_Utils_Type::T_DATE,
'title' => ts('Fixed Date for Reminder') ,
'description' => 'Date on which the reminder be sent.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'from_name' => array(
'name' => 'from_name',
'description' => 'Name in "from" field',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'from_email' => array(
'name' => 'from_email',
'description' => 'Email address in "from" field',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'mode' => array(
'name' => 'mode',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
'default' => 'Email',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
'html' => array(
'type' => 'Select',
) ,
'name' => 'sms_provider_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('SMS Provider') ,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
'FKClassName' => 'CRM_SMS_DAO_Provider',
'html' => array(
'type' => 'Select',
'description' => 'Used for repeating entity',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'filter_contact_language' => array(
'name' => 'filter_contact_language',
'description' => 'Used for multilingual installation',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
'communication_language' => array(
'name' => 'communication_language',
'description' => 'Used for multilingual installation',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Address.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:af966c0284f44b6d20f654125b211c37)
+ * (GenCodeChecksum:f287c4fdc26ea566a1b4fdd3c8975bcb)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Address ID') ,
'description' => 'Unique Address ID',
'required' => true,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
) ,
'contact_id' => array(
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contact ID') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'location_type_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Address Location Type') ,
'description' => 'Which Location does this address belong to.',
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Address Primary?') ,
'description' => 'Is this the primary address.',
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Billing Address') ,
'description' => 'Is this the billing address.',
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '/(street|address)/i',
'dataPattern' => '/^(\d{1,5}( [0-9A-Za-z]+)+)$|^(P\.?O\.\? Box \d{1,5})$/i',
'export' => true,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'where' => 'civicrm_address.street_number',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'where' => 'civicrm_address.street_number_suffix',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Directional prefix, e.g. SE Main St, SE is the prefix.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'where' => 'civicrm_address.street_name',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'description' => 'St, Rd, Dr, etc.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Directional prefix, e.g. Main St S, S is the suffix.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'where' => 'civicrm_address.street_unit',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/(supplemental(\s)?)?address(\s\d+)?/i',
'dataPattern' => '/unit|ap(ar)?t(ment)?\s(\d|\w)+/i',
'export' => true,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/(supplemental(\s)?)?address(\s\d+)?/i',
'dataPattern' => '/unit|ap(ar)?t(ment)?\s(\d|\w)+/i',
'export' => true,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Supplemental Address Information, Line 3',
'maxlength' => 96,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/city/i',
'dataPattern' => '/^[A-Za-z]+(\.?)(\s?[A-Za-z]+){0,2}$/',
'export' => true,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('County') ,
'description' => 'Which County does this address belong to.',
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'FKClassName' => 'CRM_Core_DAO_County',
'html' => array(
'type' => 'ChainSelect',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('State/Province') ,
'description' => 'Which State_Province does this address belong to.',
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'FKClassName' => 'CRM_Core_DAO_StateProvince',
'html' => array(
'type' => 'ChainSelect',
'headerPattern' => '/p(ostal)\sc(ode)\ss(uffix)/i',
'dataPattern' => '/\d?\d{4}(-\d{4})?/',
'export' => true,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/postal|zip/i',
'dataPattern' => '/\d?\d{4}(-\d{4})?/',
'export' => true,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'description' => 'USPS Bulk mailing code.',
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
) ,
'country_id' => array(
'name' => 'country_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Country') ,
'description' => 'Which Country does this address belong to.',
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'FKClassName' => 'CRM_Core_DAO_Country',
'html' => array(
'type' => 'Select',
'headerPattern' => '/geo/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/geo/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is manually geocoded') ,
'description' => 'Is this a manually entered geo code',
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'CheckBox',
) ,
'description' => 'Timezone expressed as a UTC offset - e.g. United States CST would be written as "UTC-6".',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/^location|(l(ocation\s)?name)$/i',
'dataPattern' => '/^\w+$/',
'export' => true,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_address',
+ 'entity' => 'Address',
+ 'bao' => 'CRM_Core_BAO_Address',
'FKClassName' => 'CRM_Core_DAO_Address',
) ,
);
*
* Generated from xml/schema/CRM/Core/AddressFormat.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ef2bb5732dc5f40f6713f48c72f011ba)
+ * (GenCodeChecksum:dc31831c9c3be6d795d1f1b2c355f0e4)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Address Format ID') ,
'description' => 'Address Format Id',
'required' => true,
+ 'table_name' => 'civicrm_address_format',
+ 'entity' => 'AddressFormat',
+ 'bao' => 'CRM_Core_DAO_AddressFormat',
) ,
'format' => array(
'name' => 'format',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Address Format') ,
'description' => 'The format of an address',
+ 'table_name' => 'civicrm_address_format',
+ 'entity' => 'AddressFormat',
+ 'bao' => 'CRM_Core_DAO_AddressFormat',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*/
-// (GenCodeChecksum:91eca27988f62050330654fa6ce26ca2)
+// (GenCodeChecksum:616d65664572d5eaffb63dd660d6ff36)
return array(
'CRM_Core_DAO_AddressFormat' => array(
'name' => 'AddressFormat',
*
* Generated from xml/schema/CRM/Core/Cache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b145d7f1474d493c2df518be572bc56c)
+ * (GenCodeChecksum:b9b25f7ebdd74e09ed9641a217ffb521)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'required' => true,
+ 'table_name' => 'civicrm_cache',
+ 'entity' => 'Cache',
+ 'bao' => 'CRM_Core_BAO_Cache',
) ,
'group_name' => array(
'name' => 'group_name',
'required' => true,
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_cache',
+ 'entity' => 'Cache',
+ 'bao' => 'CRM_Core_BAO_Cache',
) ,
'path' => array(
'name' => 'path',
'description' => 'Unique path name for cache element',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_cache',
+ 'entity' => 'Cache',
+ 'bao' => 'CRM_Core_BAO_Cache',
) ,
'data' => array(
'name' => 'data',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Data') ,
'description' => 'data associated with this path',
+ 'table_name' => 'civicrm_cache',
+ 'entity' => 'Cache',
+ 'bao' => 'CRM_Core_BAO_Cache',
) ,
'component_id' => array(
'name' => 'component_id',
'type' => CRM_Utils_Type::T_INT,
'description' => 'Component that this menu item belongs to',
+ 'table_name' => 'civicrm_cache',
+ 'entity' => 'Cache',
+ 'bao' => 'CRM_Core_BAO_Cache',
'FKClassName' => 'CRM_Core_DAO_Component',
'html' => array(
'type' => 'Select',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Created Date') ,
'description' => 'When was the cache item created',
+ 'table_name' => 'civicrm_cache',
+ 'entity' => 'Cache',
+ 'bao' => 'CRM_Core_BAO_Cache',
) ,
'expired_date' => array(
'name' => 'expired_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Expired Date') ,
'description' => 'When should the cache item expire',
+ 'table_name' => 'civicrm_cache',
+ 'entity' => 'Cache',
+ 'bao' => 'CRM_Core_BAO_Cache',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Component.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:139dcaac103194eb41070ed8d7753d90)
+ * (GenCodeChecksum:890aede5d4ff5b9408e5560494eca6e6)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'description' => 'Component ID',
'required' => true,
+ 'table_name' => 'civicrm_component',
+ 'entity' => 'Component',
+ 'bao' => 'CRM_Core_DAO_Component',
) ,
'name' => array(
'name' => 'name',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_component',
+ 'entity' => 'Component',
+ 'bao' => 'CRM_Core_DAO_Component',
) ,
'namespace' => array(
'name' => 'namespace',
',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_component',
+ 'entity' => 'Component',
+ 'bao' => 'CRM_Core_DAO_Component',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Country.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3b3a4169f7747aa7b8fd5b6a81859e50)
+ * (GenCodeChecksum:c5310b6d489953cb4e44654d4dd990c2)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Country ID') ,
'description' => 'Country Id',
'required' => true,
+ 'table_name' => 'civicrm_country',
+ 'entity' => 'Country',
+ 'bao' => 'CRM_Core_BAO_Country',
) ,
'name' => array(
'name' => 'name',
'headerPattern' => '/country/i',
'dataPattern' => '/^[A-Z][a-z]+\.?(\s+[A-Z][a-z]+){0,3}$/',
'export' => true,
+ 'table_name' => 'civicrm_country',
+ 'entity' => 'Country',
+ 'bao' => 'CRM_Core_BAO_Country',
) ,
'iso_code' => array(
'name' => 'iso_code',
'description' => 'ISO Code',
'maxlength' => 2,
'size' => CRM_Utils_Type::TWO,
+ 'table_name' => 'civicrm_country',
+ 'entity' => 'Country',
+ 'bao' => 'CRM_Core_BAO_Country',
) ,
'country_code' => array(
'name' => 'country_code',
'description' => 'National prefix to be used when dialing TO this country.',
'maxlength' => 4,
'size' => CRM_Utils_Type::FOUR,
+ 'table_name' => 'civicrm_country',
+ 'entity' => 'Country',
+ 'bao' => 'CRM_Core_BAO_Country',
) ,
'address_format_id' => array(
'name' => 'address_format_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Address Format') ,
'description' => 'Foreign key to civicrm_address_format.id.',
+ 'table_name' => 'civicrm_country',
+ 'entity' => 'Country',
+ 'bao' => 'CRM_Core_BAO_Country',
'FKClassName' => 'CRM_Core_DAO_AddressFormat',
) ,
'idd_prefix' => array(
'description' => 'International direct dialing prefix from within the country TO another country',
'maxlength' => 4,
'size' => CRM_Utils_Type::FOUR,
+ 'table_name' => 'civicrm_country',
+ 'entity' => 'Country',
+ 'bao' => 'CRM_Core_BAO_Country',
) ,
'ndd_prefix' => array(
'name' => 'ndd_prefix',
'description' => 'Access prefix to call within a country to a different area',
'maxlength' => 4,
'size' => CRM_Utils_Type::FOUR,
+ 'table_name' => 'civicrm_country',
+ 'entity' => 'Country',
+ 'bao' => 'CRM_Core_BAO_Country',
) ,
'region_id' => array(
'name' => 'region_id',
'title' => ts('Region') ,
'description' => 'Foreign key to civicrm_worldregion.id.',
'required' => true,
+ 'table_name' => 'civicrm_country',
+ 'entity' => 'Country',
+ 'bao' => 'CRM_Core_BAO_Country',
'FKClassName' => 'CRM_Core_DAO_Worldregion',
) ,
'is_province_abbreviated' => array(
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Abbreviate Province?') ,
'description' => 'Should state/province be displayed as abbreviation for contacts from this country?',
+ 'table_name' => 'civicrm_country',
+ 'entity' => 'Country',
+ 'bao' => 'CRM_Core_BAO_Country',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/County.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5123c059a50972248c5ced75a03c4eb5)
+ * (GenCodeChecksum:824c915d12ea56f2abb94267ca139391)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('County ID') ,
'description' => 'County ID',
'required' => true,
+ 'table_name' => 'civicrm_county',
+ 'entity' => 'County',
+ 'bao' => 'CRM_Core_DAO_County',
) ,
'name' => array(
'name' => 'name',
'headerPattern' => '/county/i',
'dataPattern' => '/[A-Z]{2}/',
'export' => true,
+ 'table_name' => 'civicrm_county',
+ 'entity' => 'County',
+ 'bao' => 'CRM_Core_DAO_County',
) ,
'abbreviation' => array(
'name' => 'abbreviation',
'description' => '2-4 Character Abbreviation of County',
'maxlength' => 4,
'size' => CRM_Utils_Type::FOUR,
+ 'table_name' => 'civicrm_county',
+ 'entity' => 'County',
+ 'bao' => 'CRM_Core_DAO_County',
) ,
'state_province_id' => array(
'name' => 'state_province_id',
'title' => ts('State') ,
'description' => 'ID of State/Province that County belongs',
'required' => true,
+ 'table_name' => 'civicrm_county',
+ 'entity' => 'County',
+ 'bao' => 'CRM_Core_DAO_County',
'FKClassName' => 'CRM_Core_DAO_StateProvince',
) ,
);
*
* Generated from xml/schema/CRM/Core/CustomField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dc13acb1a31d4ed4837ebb0a167da9e9)
+ * (GenCodeChecksum:9a71ccf425ce3ba8f5ad59f4fdb8ebf8)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Custom Field ID') ,
'description' => 'Unique Custom Field ID',
'required' => true,
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'custom_group_id' => array(
'name' => 'custom_group_id',
'title' => ts('Custom Group') ,
'description' => 'FK to civicrm_custom_group.',
'required' => true,
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
'FKClassName' => 'CRM_Core_DAO_CustomGroup',
'html' => array(
'type' => 'Select',
'description' => 'Variable name/programmatic handle for this group.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'label' => array(
'name' => 'label',
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'data_type' => array(
'name' => 'data_type',
'required' => true,
'maxlength' => 16,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
'html' => array(
'type' => 'Select',
) ,
'required' => true,
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
'pseudoconstant' => array(
'callback' => 'CRM_Core_SelectValues::customHtmlType',
)
'description' => 'Use form_options.is_default for field_types which use options.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'is_required' => array(
'name' => 'is_required',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Custom Field Is Required?') ,
'description' => 'Is a value required for this property.',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'is_searchable' => array(
'name' => 'is_searchable',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Allow Searching on Field?') ,
'description' => 'Is this property searchable.',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'is_search_range' => array(
'name' => 'is_search_range',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Search as a Range') ,
'description' => 'Is this property range searchable.',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'weight' => array(
'name' => 'weight',
'description' => 'Controls field display order within an extended property group.',
'required' => true,
'default' => '1',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'help_pre' => array(
'name' => 'help_pre',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Custom Field Pre Text') ,
'description' => 'Description and/or help text to display before this field.',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'help_post' => array(
'name' => 'help_post',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Custom Field Post Text') ,
'description' => 'Description and/or help text to display after this field.',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'mask' => array(
'name' => 'mask',
'description' => 'Optional format instructions for specific field types, like date types.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'attributes' => array(
'name' => 'attributes',
'description' => 'Store collection of type-appropriate attributes, e.g. textarea needs rows/cols attributes',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'javascript' => array(
'name' => 'javascript',
'description' => 'Optional scripting attributes for field.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Custom Field Is Active?') ,
'description' => 'Is this property active?',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'is_view' => array(
'name' => 'is_view',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Field is Viewable') ,
'description' => 'Is this property set by PHP Code? A code field is viewable but not editable',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'options_per_line' => array(
'name' => 'options_per_line',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Field Options Per Line') ,
'description' => 'number of options per line for checkbox and radio',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'text_length' => array(
'name' => 'text_length',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Field Length') ,
'description' => 'field length if alphanumeric',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'start_date_years' => array(
'name' => 'start_date_years',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Field Start Date') ,
'description' => 'Date may be up to start_date_years years prior to the current date.',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'end_date_years' => array(
'name' => 'end_date_years',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Field End Date') ,
'description' => 'Date may be up to end_date_years years after the current date.',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'date_format' => array(
'name' => 'date_format',
'description' => 'date format for custom date',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'time_format' => array(
'name' => 'time_format',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Field Time Format') ,
'description' => 'time format for custom date',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'note_columns' => array(
'name' => 'note_columns',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Field Note Columns') ,
'description' => ' Number of columns in Note Field ',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'note_rows' => array(
'name' => 'note_rows',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Field Note Rows') ,
'description' => ' Number of rows in Note Field ',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'column_name' => array(
'name' => 'column_name',
'description' => 'Name of the column that holds the values for this field.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'option_group_id' => array(
'name' => 'option_group_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Field Option Group') ,
'description' => 'For elements with options, the option group id that is used',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'filter' => array(
'name' => 'filter',
'description' => 'Stores Contact Get API params contact reference custom fields. May be used for other filters in the future.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
'in_selector' => array(
'name' => 'in_selector',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Field Display') ,
'description' => 'Should the multi-record custom field values be displayed in tab table listing',
+ 'table_name' => 'civicrm_custom_field',
+ 'entity' => 'CustomField',
+ 'bao' => 'CRM_Core_BAO_CustomField',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/CustomGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:01465947abefe26da02c4a81505afe08)
+ * (GenCodeChecksum:190b0c5691831c6708b5de7ce556836d)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Custom Group ID') ,
'description' => 'Unique Custom Group ID',
'required' => true,
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'name' => array(
'name' => 'name',
'description' => 'Variable name/programmatic handle for this group.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'title' => array(
'name' => 'title',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'extends' => array(
'name' => 'extends',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'Contact',
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'extends_entity_column_id' => array(
'name' => 'extends_entity_column_id',
'title' => ts('Custom Group Subtype List') ,
'description' => 'FK to civicrm_option_value.id (for option group custom_data_type.)',
'default' => 'NULL',
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'extends_entity_column_value' => array(
'name' => 'extends_entity_column_value',
'description' => 'linking custom group for dynamic object',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'style' => array(
'name' => 'style',
'description' => 'Visual relationship between this form and its parent.',
'maxlength' => 15,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Collapse Custom Group?') ,
'description' => 'Will this group be in collapsed or expanded mode on initial display ?',
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'help_pre' => array(
'name' => 'help_pre',
'description' => 'Description and/or help text to display before fields in form.',
'rows' => 4,
'cols' => 80,
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Description and/or help text to display after fields in form.',
'rows' => 4,
'cols' => 80,
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Controls display order when multiple extended property groups are setup for the same class.',
'required' => true,
'default' => '1',
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Custom Group Is Active?') ,
'description' => 'Is this property active?',
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'table_name' => array(
'name' => 'table_name',
'description' => 'Name of the table that holds the values for this group.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'is_multiple' => array(
'name' => 'is_multiple',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Supports Multiple Records') ,
'description' => 'Does this group hold multiple values?',
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'min_multiple' => array(
'name' => 'min_multiple',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Minimum Multiple Records') ,
'description' => 'minimum number of multiple records (typically 0?)',
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'max_multiple' => array(
'name' => 'max_multiple',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Maximum Multiple Records') ,
'description' => 'maximum number of multiple records, if 0 - no max',
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'collapse_adv_display' => array(
'name' => 'collapse_adv_display',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Collapse Group Display') ,
'description' => 'Will this group be in collapsed or expanded mode on advanced search display ?',
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'created_id' => array(
'name' => 'created_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Custom Group Created By') ,
'description' => 'FK to civicrm_contact, who created this custom group',
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'created_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Custom Group Created Date') ,
'description' => 'Date and time this custom group was created.',
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Reserved Group?') ,
'description' => 'Is this a reserved Custom Group?',
+ 'table_name' => 'civicrm_custom_group',
+ 'entity' => 'CustomGroup',
+ 'bao' => 'CRM_Core_BAO_CustomGroup',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Dashboard.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4d82a52ab0d5d66d835192785ff0c1cc)
+ * (GenCodeChecksum:3e0b2bd066d83876c81d84a574f29fe1)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('DashletID') ,
'required' => true,
+ 'table_name' => 'civicrm_dashboard',
+ 'entity' => 'Dashboard',
+ 'bao' => 'CRM_Core_BAO_Dashboard',
) ,
'domain_id' => array(
'name' => 'domain_id',
'title' => ts('Dashlet Domain') ,
'description' => 'Domain for dashboard',
'required' => true,
+ 'table_name' => 'civicrm_dashboard',
+ 'entity' => 'Dashboard',
+ 'bao' => 'CRM_Core_BAO_Dashboard',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'description' => 'Internal name of dashlet.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_dashboard',
+ 'entity' => 'Dashboard',
+ 'bao' => 'CRM_Core_BAO_Dashboard',
) ,
'label' => array(
'name' => 'label',
'description' => 'dashlet title',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_dashboard',
+ 'entity' => 'Dashboard',
+ 'bao' => 'CRM_Core_BAO_Dashboard',
) ,
'url' => array(
'name' => 'url',
'description' => 'url in case of external dashlet',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_dashboard',
+ 'entity' => 'Dashboard',
+ 'bao' => 'CRM_Core_BAO_Dashboard',
) ,
'permission' => array(
'name' => 'permission',
'description' => 'Permission for the dashlet',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_dashboard',
+ 'entity' => 'Dashboard',
+ 'bao' => 'CRM_Core_BAO_Dashboard',
) ,
'permission_operator' => array(
'name' => 'permission_operator',
'description' => 'Permission Operator',
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
+ 'table_name' => 'civicrm_dashboard',
+ 'entity' => 'Dashboard',
+ 'bao' => 'CRM_Core_BAO_Dashboard',
) ,
'fullscreen_url' => array(
'name' => 'fullscreen_url',
'description' => 'fullscreen url for dashlet',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_dashboard',
+ 'entity' => 'Dashboard',
+ 'bao' => 'CRM_Core_BAO_Dashboard',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Dashlet Active?') ,
'description' => 'Is this dashlet active?',
+ 'table_name' => 'civicrm_dashboard',
+ 'entity' => 'Dashboard',
+ 'bao' => 'CRM_Core_BAO_Dashboard',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Dashlet Reserved?') ,
'description' => 'Is this dashlet reserved?',
+ 'table_name' => 'civicrm_dashboard',
+ 'entity' => 'Dashboard',
+ 'bao' => 'CRM_Core_BAO_Dashboard',
) ,
'cache_minutes' => array(
'name' => 'cache_minutes',
'description' => 'Number of minutes to cache dashlet content in browser localStorage.',
'required' => true,
'default' => '60',
+ 'table_name' => 'civicrm_dashboard',
+ 'entity' => 'Dashboard',
+ 'bao' => 'CRM_Core_BAO_Dashboard',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Discount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b82536086f7f2111cddc36452c9aeb9e)
+ * (GenCodeChecksum:f09af911434bdf229ff455ec8a0616b0)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Discount ID') ,
'description' => 'primary key',
'required' => true,
+ 'table_name' => 'civicrm_discount',
+ 'entity' => 'Discount',
+ 'bao' => 'CRM_Core_BAO_Discount',
) ,
'entity_table' => array(
'name' => 'entity_table',
'description' => 'physical tablename for entity being joined to discount, e.g. civicrm_event',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_discount',
+ 'entity' => 'Discount',
+ 'bao' => 'CRM_Core_BAO_Discount',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Entity ID') ,
'description' => 'FK to entity table specified in entity_table column.',
'required' => true,
+ 'table_name' => 'civicrm_discount',
+ 'entity' => 'Discount',
+ 'bao' => 'CRM_Core_BAO_Discount',
) ,
'participant_discount_name' => array(
'name' => 'price_set_id',
'where' => 'civicrm_discount.price_set_id',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_discount',
+ 'entity' => 'Discount',
+ 'bao' => 'CRM_Core_BAO_Discount',
'FKClassName' => 'CRM_Price_DAO_PriceSet',
) ,
'start_date' => array(
'type' => CRM_Utils_Type::T_DATE,
'title' => ts('Discount Start Date') ,
'description' => 'Date when discount starts.',
+ 'table_name' => 'civicrm_discount',
+ 'entity' => 'Discount',
+ 'bao' => 'CRM_Core_BAO_Discount',
) ,
'end_date' => array(
'name' => 'end_date',
'type' => CRM_Utils_Type::T_DATE,
'title' => ts('Discount End Date') ,
'description' => 'Date when discount ends.',
+ 'table_name' => 'civicrm_discount',
+ 'entity' => 'Discount',
+ 'bao' => 'CRM_Core_BAO_Discount',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Domain.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a403ee4e3ef5f8398d0103c8a5ba1645)
+ * (GenCodeChecksum:8dd47669e949ac899026a03b3c47c488)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Domain ID') ,
'description' => 'Domain ID',
'required' => true,
+ 'table_name' => 'civicrm_domain',
+ 'entity' => 'Domain',
+ 'bao' => 'CRM_Core_BAO_Domain',
) ,
'name' => array(
'name' => 'name',
'description' => 'Name of Domain / Organization',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_domain',
+ 'entity' => 'Domain',
+ 'bao' => 'CRM_Core_BAO_Domain',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Description of Domain.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_domain',
+ 'entity' => 'Domain',
+ 'bao' => 'CRM_Core_BAO_Domain',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Backend configuration.',
'rows' => 20,
'cols' => 80,
+ 'table_name' => 'civicrm_domain',
+ 'entity' => 'Domain',
+ 'bao' => 'CRM_Core_BAO_Domain',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'The civicrm version this instance is running',
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_domain',
+ 'entity' => 'Domain',
+ 'bao' => 'CRM_Core_BAO_Domain',
) ,
'contact_id' => array(
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Domain Contact') ,
'description' => 'FK to Contact ID. This is specifically not an FK to avoid circular constraints',
+ 'table_name' => 'civicrm_domain',
+ 'entity' => 'Domain',
+ 'bao' => 'CRM_Core_BAO_Domain',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'locales' => array(
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Supported Languages') ,
'description' => 'list of locales supported by the current db state (NULL for single-lang install)',
+ 'table_name' => 'civicrm_domain',
+ 'entity' => 'Domain',
+ 'bao' => 'CRM_Core_BAO_Domain',
) ,
'locale_custom_strings' => array(
'name' => 'locale_custom_strings',
'description' => 'Locale specific string overrides',
'rows' => 20,
'cols' => 80,
+ 'table_name' => 'civicrm_domain',
+ 'entity' => 'Domain',
+ 'bao' => 'CRM_Core_BAO_Domain',
'html' => array(
'type' => 'TextArea',
) ,
*
* Generated from xml/schema/CRM/Core/Email.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:988b68b07a90ff903001c8f68b2e2545)
+ * (GenCodeChecksum:4ad6f174320af9da20e5f3cd86295a8a)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Email ID') ,
'description' => 'Unique Email ID',
'required' => true,
+ 'table_name' => 'civicrm_email',
+ 'entity' => 'Email',
+ 'bao' => 'CRM_Core_BAO_Email',
) ,
'contact_id' => array(
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Email Contact') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_email',
+ 'entity' => 'Email',
+ 'bao' => 'CRM_Core_BAO_Email',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'location_type_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Email Location Type') ,
'description' => 'Which Location does this email belong to.',
+ 'table_name' => 'civicrm_email',
+ 'entity' => 'Email',
+ 'bao' => 'CRM_Core_BAO_Email',
'html' => array(
'type' => 'Select',
) ,
'dataPattern' => '/^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$/',
'export' => true,
'rule' => 'email',
+ 'table_name' => 'civicrm_email',
+ 'entity' => 'Email',
+ 'bao' => 'CRM_Core_BAO_Email',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Primary email') ,
'description' => 'Is this the primary?',
+ 'table_name' => 'civicrm_email',
+ 'entity' => 'Email',
+ 'bao' => 'CRM_Core_BAO_Email',
) ,
'is_billing' => array(
'name' => 'is_billing',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Billing Email?') ,
'description' => 'Is this the billing?',
+ 'table_name' => 'civicrm_email',
+ 'entity' => 'Email',
+ 'bao' => 'CRM_Core_BAO_Email',
) ,
'on_hold' => array(
'name' => 'on_hold',
'where' => 'civicrm_email.on_hold',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_email',
+ 'entity' => 'Email',
+ 'bao' => 'CRM_Core_BAO_Email',
'html' => array(
'type' => 'CheckBox',
) ,
'where' => 'civicrm_email.is_bulkmail',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_email',
+ 'entity' => 'Email',
+ 'bao' => 'CRM_Core_BAO_Email',
) ,
'hold_date' => array(
'name' => 'hold_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Hold Date') ,
'description' => 'When the address went on bounce hold',
+ 'table_name' => 'civicrm_email',
+ 'entity' => 'Email',
+ 'bao' => 'CRM_Core_BAO_Email',
) ,
'reset_date' => array(
'name' => 'reset_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Reset Date') ,
'description' => 'When the address bounce status was last reset',
+ 'table_name' => 'civicrm_email',
+ 'entity' => 'Email',
+ 'bao' => 'CRM_Core_BAO_Email',
) ,
'signature_text' => array(
'name' => 'signature_text',
'dataPattern' => '',
'export' => true,
'default' => 'NULL',
+ 'table_name' => 'civicrm_email',
+ 'entity' => 'Email',
+ 'bao' => 'CRM_Core_BAO_Email',
) ,
'signature_html' => array(
'name' => 'signature_html',
'dataPattern' => '',
'export' => true,
'default' => 'NULL',
+ 'table_name' => 'civicrm_email',
+ 'entity' => 'Email',
+ 'bao' => 'CRM_Core_BAO_Email',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/EntityFile.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e5908be6be52569450e442e9fd5f0356)
+ * (GenCodeChecksum:59378491e72c7d8ae875c88b9a24d2c9)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Entity File ID') ,
'description' => 'primary key',
'required' => true,
+ 'table_name' => 'civicrm_entity_file',
+ 'entity' => 'EntityFile',
+ 'bao' => 'CRM_Core_DAO_EntityFile',
) ,
'entity_table' => array(
'name' => 'entity_table',
'description' => 'physical tablename for entity being joined to file, e.g. civicrm_contact',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_entity_file',
+ 'entity' => 'EntityFile',
+ 'bao' => 'CRM_Core_DAO_EntityFile',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Entity ID') ,
'description' => 'FK to entity table specified in entity_table column.',
'required' => true,
+ 'table_name' => 'civicrm_entity_file',
+ 'entity' => 'EntityFile',
+ 'bao' => 'CRM_Core_DAO_EntityFile',
) ,
'file_id' => array(
'name' => 'file_id',
'title' => ts('File') ,
'description' => 'FK to civicrm_file',
'required' => true,
+ 'table_name' => 'civicrm_entity_file',
+ 'entity' => 'EntityFile',
+ 'bao' => 'CRM_Core_DAO_EntityFile',
'FKClassName' => 'CRM_Core_DAO_File',
) ,
);
*
* Generated from xml/schema/CRM/Core/EntityTag.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b20b74dc25d45ec2053e8aa064530c1e)
+ * (GenCodeChecksum:5111634a7040650184aa7e5206b1ea56)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Entity Tag ID') ,
'description' => 'primary key',
'required' => true,
+ 'table_name' => 'civicrm_entity_tag',
+ 'entity' => 'EntityTag',
+ 'bao' => 'CRM_Core_BAO_EntityTag',
) ,
'entity_table' => array(
'name' => 'entity_table',
'description' => 'physical tablename for entity being joined to file, e.g. civicrm_contact',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_entity_tag',
+ 'entity' => 'EntityTag',
+ 'bao' => 'CRM_Core_BAO_EntityTag',
'pseudoconstant' => array(
'optionGroupName' => 'tag_used_for',
'optionEditPath' => 'civicrm/admin/options/tag_used_for',
'title' => ts('Entity ID') ,
'description' => 'FK to entity table specified in entity_table column.',
'required' => true,
+ 'table_name' => 'civicrm_entity_tag',
+ 'entity' => 'EntityTag',
+ 'bao' => 'CRM_Core_BAO_EntityTag',
) ,
'tag_id' => array(
'name' => 'tag_id',
'title' => ts('Tag') ,
'description' => 'FK to civicrm_tag',
'required' => true,
+ 'table_name' => 'civicrm_entity_tag',
+ 'entity' => 'EntityTag',
+ 'bao' => 'CRM_Core_BAO_EntityTag',
'FKClassName' => 'CRM_Core_DAO_Tag',
'html' => array(
'type' => 'Select',
*
* Generated from xml/schema/CRM/Core/Extension.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9f05903fb26f373b3f7715b2a5e90ce6)
+ * (GenCodeChecksum:d6bfb607b63fda77d26266578ac330a8)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Extension ID') ,
'description' => 'Local Extension ID',
'required' => true,
+ 'table_name' => 'civicrm_extension',
+ 'entity' => 'Extension',
+ 'bao' => 'CRM_Core_BAO_Extension',
) ,
'type' => array(
'name' => 'type',
'required' => true,
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_extension',
+ 'entity' => 'Extension',
+ 'bao' => 'CRM_Core_BAO_Extension',
'html' => array(
'type' => 'Select',
) ,
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_extension',
+ 'entity' => 'Extension',
+ 'bao' => 'CRM_Core_BAO_Extension',
) ,
'name' => array(
'name' => 'name',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_extension',
+ 'entity' => 'Extension',
+ 'bao' => 'CRM_Core_BAO_Extension',
) ,
'label' => array(
'name' => 'label',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_extension',
+ 'entity' => 'Extension',
+ 'bao' => 'CRM_Core_BAO_Extension',
) ,
'file' => array(
'name' => 'file',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_extension',
+ 'entity' => 'Extension',
+ 'bao' => 'CRM_Core_BAO_Extension',
) ,
'schema_version' => array(
'name' => 'schema_version',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_extension',
+ 'entity' => 'Extension',
+ 'bao' => 'CRM_Core_BAO_Extension',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Extension is Active?') ,
'description' => 'Is this extension active?',
'default' => '1',
+ 'table_name' => 'civicrm_extension',
+ 'entity' => 'Extension',
+ 'bao' => 'CRM_Core_BAO_Extension',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/File.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0eba11703ecd7155339b6527ff0f864e)
+ * (GenCodeChecksum:5ebcac807175fc3e3aa6030c9416fd14)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('File ID') ,
'description' => 'Unique ID',
'required' => true,
+ 'table_name' => 'civicrm_file',
+ 'entity' => 'File',
+ 'bao' => 'CRM_Core_BAO_File',
) ,
'file_type_id' => array(
'name' => 'file_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('File Type') ,
'description' => 'Type of file (e.g. Transcript, Income Tax Return, etc). FK to civicrm_option_value.',
+ 'table_name' => 'civicrm_file',
+ 'entity' => 'File',
+ 'bao' => 'CRM_Core_BAO_File',
) ,
'mime_type' => array(
'name' => 'mime_type',
'description' => 'mime type of the document',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_file',
+ 'entity' => 'File',
+ 'bao' => 'CRM_Core_BAO_File',
) ,
'uri' => array(
'name' => 'uri',
'description' => 'uri of the file on disk',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_file',
+ 'entity' => 'File',
+ 'bao' => 'CRM_Core_BAO_File',
) ,
'document' => array(
'name' => 'document',
'type' => CRM_Utils_Type::T_MEDIUMBLOB,
'title' => ts('File Contents') ,
'description' => 'contents of the document',
+ 'table_name' => 'civicrm_file',
+ 'entity' => 'File',
+ 'bao' => 'CRM_Core_BAO_File',
) ,
'description' => array(
'name' => 'description',
'description' => 'Additional descriptive text regarding this attachment (optional).',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_file',
+ 'entity' => 'File',
+ 'bao' => 'CRM_Core_BAO_File',
) ,
'upload_date' => array(
'name' => 'upload_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('File Upload Date') ,
'description' => 'Date and time that this attachment was uploaded or written to server.',
+ 'table_name' => 'civicrm_file',
+ 'entity' => 'File',
+ 'bao' => 'CRM_Core_BAO_File',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/IM.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f8e6b92d253482e7ad6cfd663e583d66)
+ * (GenCodeChecksum:53a1953d19c17bde7f130123db0284fb)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Instant Messenger ID') ,
'description' => 'Unique IM ID',
'required' => true,
+ 'table_name' => 'civicrm_im',
+ 'entity' => 'IM',
+ 'bao' => 'CRM_Core_BAO_IM',
) ,
'contact_id' => array(
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('IM Contact') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_im',
+ 'entity' => 'IM',
+ 'bao' => 'CRM_Core_BAO_IM',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'location_type_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('IM Location Type') ,
'description' => 'Which Location does this email belong to.',
+ 'table_name' => 'civicrm_im',
+ 'entity' => 'IM',
+ 'bao' => 'CRM_Core_BAO_IM',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '/I(nstant )?M(ess.*)?|screen(\s+)?name/i',
'dataPattern' => '/^[A-Za-z][0-9A-Za-z]{20,}$/',
'export' => true,
+ 'table_name' => 'civicrm_im',
+ 'entity' => 'IM',
+ 'bao' => 'CRM_Core_BAO_IM',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('IM Provider') ,
'description' => 'Which IM Provider does this screen name belong to.',
+ 'table_name' => 'civicrm_im',
+ 'entity' => 'IM',
+ 'bao' => 'CRM_Core_BAO_IM',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is IM Primary?') ,
'description' => 'Is this the primary IM for this contact and location.',
+ 'table_name' => 'civicrm_im',
+ 'entity' => 'IM',
+ 'bao' => 'CRM_Core_BAO_IM',
) ,
'is_billing' => array(
'name' => 'is_billing',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is IM Billing?') ,
'description' => 'Is this the billing?',
+ 'table_name' => 'civicrm_im',
+ 'entity' => 'IM',
+ 'bao' => 'CRM_Core_BAO_IM',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Job.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5c0e5cb30a7aaee5be8f3a2e6d23b84b)
+ * (GenCodeChecksum:e85676147c697d8b831063aa9e13f9b4)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Job ID') ,
'description' => 'Job Id',
'required' => true,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
) ,
'domain_id' => array(
'name' => 'domain_id',
'title' => ts('Job Domain') ,
'description' => 'Which Domain is this scheduled job for',
'required' => true,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'default' => 'Daily',
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Last Run') ,
'description' => 'When was this cron entry last run',
'default' => 'NULL',
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
) ,
'scheduled_run_date' => array(
'name' => 'scheduled_run_date',
'description' => 'When is this cron entry scheduled to run',
'required' => false,
'default' => 'NULL',
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
) ,
'name' => array(
'name' => 'name',
'description' => 'Title of the job',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
) ,
'description' => array(
'name' => 'description',
'description' => 'Description of the job',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
) ,
'api_entity' => array(
'name' => 'api_entity',
'description' => 'Entity of the job api call',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
) ,
'api_action' => array(
'name' => 'api_action',
'description' => 'Action of the job api call',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
) ,
'parameters' => array(
'name' => 'parameters',
'description' => 'List of parameters to the command.',
'rows' => 4,
'cols' => 60,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Job Is Active?') ,
'description' => 'Is this job active?',
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/JobLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4b0845059b2070b57b02b8b1c6c9df50)
+ * (GenCodeChecksum:65d0e0cdf11d956a795d2793461e4432)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Job Log ID') ,
'description' => 'Job log entry Id',
'required' => true,
+ 'table_name' => 'civicrm_job_log',
+ 'entity' => 'JobLog',
+ 'bao' => 'CRM_Core_DAO_JobLog',
) ,
'domain_id' => array(
'name' => 'domain_id',
'title' => ts('Domain ID') ,
'description' => 'Which Domain is this scheduled job for',
'required' => true,
+ 'table_name' => 'civicrm_job_log',
+ 'entity' => 'JobLog',
+ 'bao' => 'CRM_Core_DAO_JobLog',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'type' => CRM_Utils_Type::T_TIMESTAMP,
'title' => ts('Timestamp') ,
'description' => 'Log entry date',
+ 'table_name' => 'civicrm_job_log',
+ 'entity' => 'JobLog',
+ 'bao' => 'CRM_Core_DAO_JobLog',
) ,
'job_id' => array(
'name' => 'job_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Job ID') ,
'description' => 'Pointer to job id - not a FK though, just for logging purposes',
+ 'table_name' => 'civicrm_job_log',
+ 'entity' => 'JobLog',
+ 'bao' => 'CRM_Core_DAO_JobLog',
) ,
'name' => array(
'name' => 'name',
'description' => 'Title of the job',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_job_log',
+ 'entity' => 'JobLog',
+ 'bao' => 'CRM_Core_DAO_JobLog',
) ,
'command' => array(
'name' => 'command',
'description' => 'Full path to file containing job script',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_job_log',
+ 'entity' => 'JobLog',
+ 'bao' => 'CRM_Core_DAO_JobLog',
) ,
'description' => array(
'name' => 'description',
'description' => 'Title line of log entry',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_job_log',
+ 'entity' => 'JobLog',
+ 'bao' => 'CRM_Core_DAO_JobLog',
) ,
'data' => array(
'name' => 'data',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Extended Data') ,
'description' => 'Potential extended data for specific job run (e.g. tracebacks).',
+ 'table_name' => 'civicrm_job_log',
+ 'entity' => 'JobLog',
+ 'bao' => 'CRM_Core_DAO_JobLog',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/LocBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3b7c983be2e2ecc28d15c6ae02681985)
+ * (GenCodeChecksum:ecec4c8ded5032d2f163be6e13879e67)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Location Block ID') ,
'description' => 'Unique ID',
'required' => true,
+ 'table_name' => 'civicrm_loc_block',
+ 'entity' => 'LocBlock',
+ 'bao' => 'CRM_Core_DAO_LocBlock',
) ,
'address_id' => array(
'name' => 'address_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Location Block Address') ,
+ 'table_name' => 'civicrm_loc_block',
+ 'entity' => 'LocBlock',
+ 'bao' => 'CRM_Core_DAO_LocBlock',
'FKClassName' => 'CRM_Core_DAO_Address',
) ,
'email_id' => array(
'name' => 'email_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Location Block Email') ,
+ 'table_name' => 'civicrm_loc_block',
+ 'entity' => 'LocBlock',
+ 'bao' => 'CRM_Core_DAO_LocBlock',
'FKClassName' => 'CRM_Core_DAO_Email',
) ,
'phone_id' => array(
'name' => 'phone_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Location Block Phone') ,
+ 'table_name' => 'civicrm_loc_block',
+ 'entity' => 'LocBlock',
+ 'bao' => 'CRM_Core_DAO_LocBlock',
'FKClassName' => 'CRM_Core_DAO_Phone',
) ,
'im_id' => array(
'name' => 'im_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Location Block IM') ,
+ 'table_name' => 'civicrm_loc_block',
+ 'entity' => 'LocBlock',
+ 'bao' => 'CRM_Core_DAO_LocBlock',
'FKClassName' => 'CRM_Core_DAO_IM',
) ,
'address_2_id' => array(
'name' => 'address_2_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Location Block IM 2') ,
+ 'table_name' => 'civicrm_loc_block',
+ 'entity' => 'LocBlock',
+ 'bao' => 'CRM_Core_DAO_LocBlock',
'FKClassName' => 'CRM_Core_DAO_Address',
) ,
'email_2_id' => array(
'name' => 'email_2_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Email 2') ,
+ 'table_name' => 'civicrm_loc_block',
+ 'entity' => 'LocBlock',
+ 'bao' => 'CRM_Core_DAO_LocBlock',
'FKClassName' => 'CRM_Core_DAO_Email',
) ,
'phone_2_id' => array(
'name' => 'phone_2_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Phone 2') ,
+ 'table_name' => 'civicrm_loc_block',
+ 'entity' => 'LocBlock',
+ 'bao' => 'CRM_Core_DAO_LocBlock',
'FKClassName' => 'CRM_Core_DAO_Phone',
) ,
'im_2_id' => array(
'name' => 'im_2_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Instant Messenger 2') ,
+ 'table_name' => 'civicrm_loc_block',
+ 'entity' => 'LocBlock',
+ 'bao' => 'CRM_Core_DAO_LocBlock',
'FKClassName' => 'CRM_Core_DAO_IM',
) ,
);
*
* Generated from xml/schema/CRM/Core/LocationType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f0327e335eb583862d2bd8afad6444ac)
+ * (GenCodeChecksum:0b798f6f542204b5746806626f24361c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Location Type ID') ,
'description' => 'Location Type ID',
'required' => true,
+ 'table_name' => 'civicrm_location_type',
+ 'entity' => 'LocationType',
+ 'bao' => 'CRM_Core_BAO_LocationType',
) ,
'name' => array(
'name' => 'name',
'description' => 'Location Type Name.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_location_type',
+ 'entity' => 'LocationType',
+ 'bao' => 'CRM_Core_BAO_LocationType',
) ,
'display_name' => array(
'name' => 'display_name',
'description' => 'Location Type Display Name.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_location_type',
+ 'entity' => 'LocationType',
+ 'bao' => 'CRM_Core_BAO_LocationType',
) ,
'vcard_name' => array(
'name' => 'vcard_name',
'description' => 'vCard Location Type Name.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_location_type',
+ 'entity' => 'LocationType',
+ 'bao' => 'CRM_Core_BAO_LocationType',
) ,
'description' => array(
'name' => 'description',
'description' => 'Location Type Description.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_location_type',
+ 'entity' => 'LocationType',
+ 'bao' => 'CRM_Core_BAO_LocationType',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Location Type is Reserved?') ,
'description' => 'Is this location type a predefined system location?',
+ 'table_name' => 'civicrm_location_type',
+ 'entity' => 'LocationType',
+ 'bao' => 'CRM_Core_BAO_LocationType',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Location Type is Active?') ,
'description' => 'Is this property active?',
+ 'table_name' => 'civicrm_location_type',
+ 'entity' => 'LocationType',
+ 'bao' => 'CRM_Core_BAO_LocationType',
) ,
'is_default' => array(
'name' => 'is_default',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Default Location Type?') ,
'description' => 'Is this location type the default?',
+ 'table_name' => 'civicrm_location_type',
+ 'entity' => 'LocationType',
+ 'bao' => 'CRM_Core_BAO_LocationType',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Log.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:316a8a9a9d716cc5847f05668de2c331)
+ * (GenCodeChecksum:a0c51596a4ccc5f07a5dcec00bbb7231)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Log ID') ,
'description' => 'Log ID',
'required' => true,
+ 'table_name' => 'civicrm_log',
+ 'entity' => 'Log',
+ 'bao' => 'CRM_Core_BAO_Log',
) ,
'entity_table' => array(
'name' => 'entity_table',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_log',
+ 'entity' => 'Log',
+ 'bao' => 'CRM_Core_BAO_Log',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Entity ID ') ,
'description' => 'Foreign key to the referenced item.',
'required' => true,
+ 'table_name' => 'civicrm_log',
+ 'entity' => 'Log',
+ 'bao' => 'CRM_Core_BAO_Log',
) ,
'data' => array(
'name' => 'data',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Data') ,
'description' => 'Updates does to this object if any.',
+ 'table_name' => 'civicrm_log',
+ 'entity' => 'Log',
+ 'bao' => 'CRM_Core_BAO_Log',
) ,
'modified_id' => array(
'name' => 'modified_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Modified By') ,
'description' => 'FK to Contact ID of person under whose credentials this data modification was made.',
+ 'table_name' => 'civicrm_log',
+ 'entity' => 'Log',
+ 'bao' => 'CRM_Core_BAO_Log',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'modified_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Modified Date') ,
'description' => 'When was the referenced entity created or modified or deleted.',
+ 'table_name' => 'civicrm_log',
+ 'entity' => 'Log',
+ 'bao' => 'CRM_Core_BAO_Log',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/MailSettings.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:16f3698a9997d082948fd562d6782962)
+ * (GenCodeChecksum:0e3685a7f3ef7351dd7539dc0320cb1e)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Mail Settings ID') ,
'description' => 'primary key',
'required' => true,
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
) ,
'domain_id' => array(
'name' => 'domain_id',
'title' => ts('Mail Settings Domain') ,
'description' => 'Which Domain is this match entry for',
'required' => true,
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'description' => 'name of this group of settings',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
) ,
'is_default' => array(
'name' => 'is_default',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Default Mail Settings?') ,
'description' => 'whether this is the default set of settings for this domain',
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
) ,
'domain' => array(
'name' => 'domain',
'description' => 'email address domain (the part after @)',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
) ,
'localpart' => array(
'name' => 'localpart',
'description' => 'optional local part (like civimail+ for addresses like civimail+s.1.2@example.com)',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
) ,
'return_path' => array(
'name' => 'return_path',
'description' => 'contents of the Return-Path header',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
) ,
'protocol' => array(
'name' => 'protocol',
'description' => 'name of the protocol to use for polling (like IMAP, POP3 or Maildir)',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
'html' => array(
'type' => 'Select',
) ,
'description' => 'server to use when polling',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
) ,
'port' => array(
'name' => 'port',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mail Port') ,
'description' => 'port to use when polling',
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
) ,
'username' => array(
'name' => 'username',
'description' => 'username to use when polling',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
) ,
'password' => array(
'name' => 'password',
'description' => 'password to use when polling',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
) ,
'is_ssl' => array(
'name' => 'is_ssl',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Mail Account Uses SSL') ,
'description' => 'whether to use SSL or not',
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
) ,
'source' => array(
'name' => 'source',
'description' => 'folder to poll from when using IMAP, path to poll from when using Maildir, etc.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mail_settings',
+ 'entity' => 'MailSettings',
+ 'bao' => 'CRM_Core_BAO_MailSettings',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Managed.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c6ff05c82573ab973ddae2bd839a5a6d)
+ * (GenCodeChecksum:1eadd6ffdb011ed6d4ff672f1e629719)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Managed ID') ,
'description' => 'Surrogate Key',
'required' => true,
+ 'table_name' => 'civicrm_managed',
+ 'entity' => 'Managed',
+ 'bao' => 'CRM_Core_DAO_Managed',
) ,
'module' => array(
'name' => 'module',
'required' => true,
'maxlength' => 127,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_managed',
+ 'entity' => 'Managed',
+ 'bao' => 'CRM_Core_DAO_Managed',
) ,
'name' => array(
'name' => 'name',
'description' => 'Symbolic name used by the module to identify the object',
'maxlength' => 127,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_managed',
+ 'entity' => 'Managed',
+ 'bao' => 'CRM_Core_DAO_Managed',
) ,
'entity_type' => array(
'name' => 'entity_type',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_managed',
+ 'entity' => 'Managed',
+ 'bao' => 'CRM_Core_DAO_Managed',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Entity ID') ,
'description' => 'Foreign key to the referenced item.',
'required' => true,
+ 'table_name' => 'civicrm_managed',
+ 'entity' => 'Managed',
+ 'bao' => 'CRM_Core_DAO_Managed',
) ,
'cleanup' => array(
'name' => 'cleanup',
'description' => 'Policy on when to cleanup entity (always, never, unused)',
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_managed',
+ 'entity' => 'Managed',
+ 'bao' => 'CRM_Core_DAO_Managed',
'html' => array(
'type' => 'Select',
) ,
*
* Generated from xml/schema/CRM/Core/Mapping.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4e293e6d117828f1e2000de5a4a0d0c0)
+ * (GenCodeChecksum:87937c4e117abc8cd9ed04c2f054d26f)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Mapping ID') ,
'description' => 'Mapping ID',
'required' => true,
+ 'table_name' => 'civicrm_mapping',
+ 'entity' => 'Mapping',
+ 'bao' => 'CRM_Core_BAO_Mapping',
) ,
'name' => array(
'name' => 'name',
'description' => 'Name of Mapping',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_mapping',
+ 'entity' => 'Mapping',
+ 'bao' => 'CRM_Core_BAO_Mapping',
) ,
'description' => array(
'name' => 'description',
'description' => 'Description of Mapping.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mapping',
+ 'entity' => 'Mapping',
+ 'bao' => 'CRM_Core_BAO_Mapping',
) ,
'mapping_type_id' => array(
'name' => 'mapping_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mapping Type') ,
'description' => 'Mapping Type',
+ 'table_name' => 'civicrm_mapping',
+ 'entity' => 'Mapping',
+ 'bao' => 'CRM_Core_BAO_Mapping',
'html' => array(
'type' => 'Select',
) ,
*
* Generated from xml/schema/CRM/Core/MappingField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1488c12897446c8720328c904584442e)
+ * (GenCodeChecksum:935db8f08ad2cb16367389613e1097a3)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Mapping Field ID') ,
'description' => 'Mapping Field ID',
'required' => true,
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
) ,
'mapping_id' => array(
'name' => 'mapping_id',
'title' => ts('Mapping ID') ,
'description' => 'Mapping to which this field belongs',
'required' => true,
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
'FKClassName' => 'CRM_Core_DAO_Mapping',
) ,
'name' => array(
'description' => 'Mapping field key',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
) ,
'contact_type' => array(
'name' => 'contact_type',
'description' => 'Contact Type in mapping',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Column Number') ,
'description' => 'Column number for mapping set',
'required' => true,
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
) ,
'location_type_id' => array(
'name' => 'location_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Location type ID') ,
'description' => 'Location type of this mapping, if required',
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
'FKClassName' => 'CRM_Core_DAO_LocationType',
) ,
'phone_type_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Phone type ID') ,
'description' => 'Which type of phone does this number belongs.',
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
) ,
'im_provider_id' => array(
'name' => 'im_provider_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('IM provider ID') ,
'description' => 'Which type of IM Provider does this name belong.',
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Website type ID') ,
'description' => 'Which type of website does this site belong',
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Relationship type ID') ,
'description' => 'Relationship type, if required',
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
'FKClassName' => 'CRM_Contact_DAO_RelationshipType',
) ,
'relationship_direction' => array(
'title' => ts('Relationship Direction') ,
'maxlength' => 6,
'size' => CRM_Utils_Type::SIX,
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
) ,
'grouping' => array(
'name' => 'grouping',
mappings).
',
'default' => '1',
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
) ,
'operator' => array(
'name' => 'operator',
'description' => 'SQL WHERE operator for search-builder mapping fields (search criteria).',
'maxlength' => 16,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
'html' => array(
'type' => 'Select',
) ,
'description' => 'SQL WHERE value for search-builder mapping fields.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mapping_field',
+ 'entity' => 'MappingField',
+ 'bao' => 'CRM_Core_DAO_MappingField',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Menu.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cde2f8bb660dfd2d166e6a3a6c231178)
+ * (GenCodeChecksum:6b8b04ecdcad520cc0d209ea00c338c0)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Menu ID') ,
'required' => true,
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'domain_id' => array(
'name' => 'domain_id',
'title' => ts('Domain') ,
'description' => 'Which Domain is this menu item for',
'required' => true,
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'description' => 'Path Name',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'path_arguments' => array(
'name' => 'path_arguments',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Arguments') ,
'description' => 'Arguments to pass to the url',
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'title' => array(
'name' => 'title',
'title' => ts('Menu Title') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'access_callback' => array(
'name' => 'access_callback',
'description' => 'Function to call to check access permissions',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'access_arguments' => array(
'name' => 'access_arguments',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Access Arguments') ,
'description' => 'Arguments to pass to access callback',
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'page_callback' => array(
'name' => 'page_callback',
'description' => 'function to call for this url',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'page_arguments' => array(
'name' => 'page_arguments',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Page Arguments') ,
'description' => 'Arguments to pass to page callback',
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'breadcrumb' => array(
'name' => 'breadcrumb',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Breadcrumb') ,
'description' => 'Breadcrumb for the path.',
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'return_url' => array(
'name' => 'return_url',
'description' => 'Url where a page should redirected to, if next url not known.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'return_url_args' => array(
'name' => 'return_url_args',
'description' => 'Arguments to pass to return_url',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'component_id' => array(
'name' => 'component_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Component') ,
'description' => 'Component that this menu item belongs to',
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
'FKClassName' => 'CRM_Core_DAO_Component',
'html' => array(
'type' => 'Select',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Enabled?') ,
'description' => 'Is this menu item active?',
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'is_public' => array(
'name' => 'is_public',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Public?') ,
'description' => 'Is this menu accessible to the public?',
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'is_exposed' => array(
'name' => 'is_exposed',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Exposed?') ,
'description' => 'Is this menu exposed to the navigation system?',
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'is_ssl' => array(
'name' => 'is_ssl',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Use SSL?') ,
'description' => 'Should this menu be exposed via SSL if enabled?',
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'weight' => array(
'name' => 'weight',
'description' => 'Ordering of the menu items in various blocks.',
'required' => true,
'default' => '1',
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'type' => array(
'name' => 'type',
'description' => 'Drupal menu type.',
'required' => true,
'default' => '1',
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'page_type' => array(
'name' => 'page_type',
'description' => 'CiviCRM menu type.',
'required' => true,
'default' => '1',
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
'skipBreadcrumb' => array(
'name' => 'skipBreadcrumb',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Hide Breadcrumb?') ,
'description' => 'skip this url being exposed to breadcrumb',
+ 'table_name' => 'civicrm_menu',
+ 'entity' => 'Menu',
+ 'bao' => 'CRM_Core_DAO_Menu',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/MessageTemplate.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3fbfb8f01af4d15128b6e3982d9337d9)
+ * (GenCodeChecksum:eb871e98ab4f44d12853c54bd78c8077)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Message Template ID') ,
'description' => 'Message Template ID',
'required' => true,
+ 'table_name' => 'civicrm_msg_template',
+ 'entity' => 'MessageTemplate',
+ 'bao' => 'CRM_Core_BAO_MessageTemplate',
) ,
'msg_title' => array(
'name' => 'msg_title',
'description' => 'Descriptive title of message',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_msg_template',
+ 'entity' => 'MessageTemplate',
+ 'bao' => 'CRM_Core_BAO_MessageTemplate',
) ,
'msg_subject' => array(
'name' => 'msg_subject',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Message Template Subject') ,
'description' => 'Subject for email message.',
+ 'table_name' => 'civicrm_msg_template',
+ 'entity' => 'MessageTemplate',
+ 'bao' => 'CRM_Core_BAO_MessageTemplate',
) ,
'msg_text' => array(
'name' => 'msg_text',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Message Template Text') ,
'description' => 'Text formatted message',
+ 'table_name' => 'civicrm_msg_template',
+ 'entity' => 'MessageTemplate',
+ 'bao' => 'CRM_Core_BAO_MessageTemplate',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Message Template HTML') ,
'description' => 'HTML formatted message',
+ 'table_name' => 'civicrm_msg_template',
+ 'entity' => 'MessageTemplate',
+ 'bao' => 'CRM_Core_BAO_MessageTemplate',
'html' => array(
'type' => 'RichTextEditor',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Active') ,
'default' => '1',
+ 'table_name' => 'civicrm_msg_template',
+ 'entity' => 'MessageTemplate',
+ 'bao' => 'CRM_Core_BAO_MessageTemplate',
) ,
'workflow_id' => array(
'name' => 'workflow_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Message Template Workflow') ,
'description' => 'a pseudo-FK to civicrm_option_value',
+ 'table_name' => 'civicrm_msg_template',
+ 'entity' => 'MessageTemplate',
+ 'bao' => 'CRM_Core_BAO_MessageTemplate',
) ,
'is_default' => array(
'name' => 'is_default',
'title' => ts('Message Template Is Default?') ,
'description' => 'is this the default message template for the workflow referenced by workflow_id?',
'default' => '1',
+ 'table_name' => 'civicrm_msg_template',
+ 'entity' => 'MessageTemplate',
+ 'bao' => 'CRM_Core_BAO_MessageTemplate',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Message Template Is Reserved?') ,
'description' => 'is this the reserved message template which we ship for the workflow referenced by workflow_id?',
+ 'table_name' => 'civicrm_msg_template',
+ 'entity' => 'MessageTemplate',
+ 'bao' => 'CRM_Core_BAO_MessageTemplate',
) ,
'is_sms' => array(
'name' => 'is_sms',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Message Template is used for SMS?') ,
'description' => 'Is this message template used for sms?',
+ 'table_name' => 'civicrm_msg_template',
+ 'entity' => 'MessageTemplate',
+ 'bao' => 'CRM_Core_BAO_MessageTemplate',
) ,
'pdf_format_id' => array(
'name' => 'pdf_format_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Message Template Format') ,
'description' => 'a pseudo-FK to civicrm_option_value containing PDF Page Format.',
+ 'table_name' => 'civicrm_msg_template',
+ 'entity' => 'MessageTemplate',
+ 'bao' => 'CRM_Core_BAO_MessageTemplate',
'pseudoconstant' => array(
'optionGroupName' => 'pdf_format',
'keyColumn' => 'id',
*
* Generated from xml/schema/CRM/Core/Navigation.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:54cd16aaee611bffac63ee4fa10787fa)
+ * (GenCodeChecksum:6bcfc36c3844541d96395d62c5f1b33e)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Navigation ID') ,
'required' => true,
+ 'table_name' => 'civicrm_navigation',
+ 'entity' => 'Navigation',
+ 'bao' => 'CRM_Core_BAO_Navigation',
) ,
'domain_id' => array(
'name' => 'domain_id',
'title' => ts('Navigation Domain') ,
'description' => 'Which Domain is this navigation item for',
'required' => true,
+ 'table_name' => 'civicrm_navigation',
+ 'entity' => 'Navigation',
+ 'bao' => 'CRM_Core_BAO_Navigation',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'description' => 'Navigation Title',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_navigation',
+ 'entity' => 'Navigation',
+ 'bao' => 'CRM_Core_BAO_Navigation',
) ,
'name' => array(
'name' => 'name',
'description' => 'Internal Name',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_navigation',
+ 'entity' => 'Navigation',
+ 'bao' => 'CRM_Core_BAO_Navigation',
) ,
'url' => array(
'name' => 'url',
'description' => 'url in case of custom navigation link',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_navigation',
+ 'entity' => 'Navigation',
+ 'bao' => 'CRM_Core_BAO_Navigation',
) ,
'permission' => array(
'name' => 'permission',
'description' => 'Permission for menu item',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_navigation',
+ 'entity' => 'Navigation',
+ 'bao' => 'CRM_Core_BAO_Navigation',
) ,
'permission_operator' => array(
'name' => 'permission_operator',
'description' => 'Permission Operator',
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
+ 'table_name' => 'civicrm_navigation',
+ 'entity' => 'Navigation',
+ 'bao' => 'CRM_Core_BAO_Navigation',
) ,
'parent_id' => array(
'name' => 'parent_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Navigation parent ID') ,
'description' => 'Parent navigation item, used for grouping',
+ 'table_name' => 'civicrm_navigation',
+ 'entity' => 'Navigation',
+ 'bao' => 'CRM_Core_BAO_Navigation',
'FKClassName' => 'CRM_Core_DAO_Navigation',
'pseudoconstant' => array(
'table' => 'civicrm_navigation',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Active') ,
'description' => 'Is this navigation item active?',
+ 'table_name' => 'civicrm_navigation',
+ 'entity' => 'Navigation',
+ 'bao' => 'CRM_Core_BAO_Navigation',
) ,
'has_separator' => array(
'name' => 'has_separator',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Use separator') ,
'description' => 'If separator needs to be added after this menu item',
+ 'table_name' => 'civicrm_navigation',
+ 'entity' => 'Navigation',
+ 'bao' => 'CRM_Core_BAO_Navigation',
) ,
'weight' => array(
'name' => 'weight',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Order') ,
'description' => 'Ordering of the navigation items in various blocks.',
+ 'table_name' => 'civicrm_navigation',
+ 'entity' => 'Navigation',
+ 'bao' => 'CRM_Core_BAO_Navigation',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Note.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:685b6d9d10917535fe9fdf3f63f4a559)
+ * (GenCodeChecksum:ad394e9a106ae70fd38afdbe29030fae)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Note ID') ,
'description' => 'Note ID',
'required' => true,
+ 'table_name' => 'civicrm_note',
+ 'entity' => 'Note',
+ 'bao' => 'CRM_Core_BAO_Note',
) ,
'entity_table' => array(
'name' => 'entity_table',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_note',
+ 'entity' => 'Note',
+ 'bao' => 'CRM_Core_BAO_Note',
'pseudoconstant' => array(
'callback' => 'CRM_Core_BAO_Note::entityTables',
)
'title' => ts('Note Entity ID') ,
'description' => 'Foreign key to the referenced item.',
'required' => true,
+ 'table_name' => 'civicrm_note',
+ 'entity' => 'Note',
+ 'bao' => 'CRM_Core_BAO_Note',
) ,
'note' => array(
'name' => 'note',
'headerPattern' => '/Note|Comment/i',
'dataPattern' => '//',
'export' => true,
+ 'table_name' => 'civicrm_note',
+ 'entity' => 'Note',
+ 'bao' => 'CRM_Core_BAO_Note',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Note Created By') ,
'description' => 'FK to Contact ID creator',
+ 'table_name' => 'civicrm_note',
+ 'entity' => 'Note',
+ 'bao' => 'CRM_Core_BAO_Note',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'modified_date' => array(
'type' => CRM_Utils_Type::T_DATE,
'title' => ts('Note Modified By') ,
'description' => 'When was this note last modified/edited',
+ 'table_name' => 'civicrm_note',
+ 'entity' => 'Note',
+ 'bao' => 'CRM_Core_BAO_Note',
) ,
'subject' => array(
'name' => 'subject',
'description' => 'subject of note description',
'maxlength' => 255,
'size' => 60,
+ 'table_name' => 'civicrm_note',
+ 'entity' => 'Note',
+ 'bao' => 'CRM_Core_BAO_Note',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Foreign Key to Note Privacy Level (which is an option value pair and hence an implicit FK)',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_note',
+ 'entity' => 'Note',
+ 'bao' => 'CRM_Core_BAO_Note',
'pseudoconstant' => array(
'optionGroupName' => 'note_privacy',
'optionEditPath' => 'civicrm/admin/options/note_privacy',
*
* Generated from xml/schema/CRM/Core/OpenID.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3efcaf2616702a4f0de774761beea36b)
+ * (GenCodeChecksum:901c3d244415b1f62513c4cb0acabb40)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Open ID identifier') ,
'description' => 'Unique OpenID ID',
'required' => true,
+ 'table_name' => 'civicrm_openid',
+ 'entity' => 'OpenID',
+ 'bao' => 'CRM_Core_BAO_OpenID',
) ,
'contact_id' => array(
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('OpenID Contact') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_openid',
+ 'entity' => 'OpenID',
+ 'bao' => 'CRM_Core_BAO_OpenID',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'location_type_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('OpenID Location Type') ,
'description' => 'Which Location does this email belong to.',
+ 'table_name' => 'civicrm_openid',
+ 'entity' => 'OpenID',
+ 'bao' => 'CRM_Core_BAO_OpenID',
) ,
'openid' => array(
'name' => 'openid',
'dataPattern' => '/^[\w\/\:\.]+$/',
'export' => true,
'rule' => 'url',
+ 'table_name' => 'civicrm_openid',
+ 'entity' => 'OpenID',
+ 'bao' => 'CRM_Core_BAO_OpenID',
) ,
'allowed_to_login' => array(
'name' => 'allowed_to_login',
'title' => ts('Allowed to login?') ,
'description' => 'Whether or not this user is allowed to login',
'required' => true,
+ 'table_name' => 'civicrm_openid',
+ 'entity' => 'OpenID',
+ 'bao' => 'CRM_Core_BAO_OpenID',
) ,
'is_primary' => array(
'name' => 'is_primary',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is OpenID Primary?') ,
'description' => 'Is this the primary email for this contact and location.',
+ 'table_name' => 'civicrm_openid',
+ 'entity' => 'OpenID',
+ 'bao' => 'CRM_Core_BAO_OpenID',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/OptionGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5b506b744806a9089160f2f99714a26a)
+ * (GenCodeChecksum:2e3db1094947600ecdc89b4d3255111c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Option Group ID') ,
'description' => 'Option Group ID',
'required' => true,
+ 'table_name' => 'civicrm_option_group',
+ 'entity' => 'OptionGroup',
+ 'bao' => 'CRM_Core_BAO_OptionGroup',
) ,
'name' => array(
'name' => 'name',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_option_group',
+ 'entity' => 'OptionGroup',
+ 'bao' => 'CRM_Core_BAO_OptionGroup',
) ,
'title' => array(
'name' => 'title',
'description' => 'Option Group title.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_option_group',
+ 'entity' => 'OptionGroup',
+ 'bao' => 'CRM_Core_BAO_OptionGroup',
) ,
'description' => array(
'name' => 'description',
'description' => 'Option group description.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_option_group',
+ 'entity' => 'OptionGroup',
+ 'bao' => 'CRM_Core_BAO_OptionGroup',
) ,
'data_type' => array(
'name' => 'data_type',
'description' => 'Option group description.',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_option_group',
+ 'entity' => 'OptionGroup',
+ 'bao' => 'CRM_Core_BAO_OptionGroup',
'pseudoconstant' => array(
'callback' => 'CRM_Utils_Type::dataTypes',
)
'title' => ts('Option Group Is Reserved?') ,
'description' => 'Is this a predefined system option group (i.e. it can not be deleted)?',
'default' => '1',
+ 'table_name' => 'civicrm_option_group',
+ 'entity' => 'OptionGroup',
+ 'bao' => 'CRM_Core_BAO_OptionGroup',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Option Group Is Active?') ,
'description' => 'Is this option group active?',
+ 'table_name' => 'civicrm_option_group',
+ 'entity' => 'OptionGroup',
+ 'bao' => 'CRM_Core_BAO_OptionGroup',
) ,
'is_locked' => array(
'name' => 'is_locked',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Option Group Is Locked') ,
'description' => 'A lock to remove the ability to add new options via the UI.',
+ 'table_name' => 'civicrm_option_group',
+ 'entity' => 'OptionGroup',
+ 'bao' => 'CRM_Core_BAO_OptionGroup',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/OptionValue.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fdf2f62ba69b54da0567362493827448)
+ * (GenCodeChecksum:6b362793b6f41ccdaa6281af6d6e7f46)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Option Value ID') ,
'description' => 'Option ID',
'required' => true,
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
'option_group_id' => array(
'name' => 'option_group_id',
'title' => ts('Option Group ID') ,
'description' => 'Group which this option belongs to.',
'required' => true,
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
'FKClassName' => 'CRM_Core_DAO_OptionGroup',
'html' => array(
'type' => 'Select',
'required' => true,
'maxlength' => 512,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
'value' => array(
'name' => 'value',
'required' => true,
'maxlength' => 512,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
'name' => array(
'name' => 'name',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
'grouping' => array(
'name' => 'grouping',
'description' => 'Use to sort and/or set display properties for sub-set(s) of options within an option group. EXAMPLE: Use for college_interest field, to differentiate partners from non-partners.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
'filter' => array(
'name' => 'filter',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Filter') ,
'description' => 'Bitwise logic can be used to create subsets of options within an option_group for different uses.',
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
'is_default' => array(
'name' => 'is_default',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Option is Default?') ,
'description' => 'Is this the default option for the group?',
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
'weight' => array(
'name' => 'weight',
'title' => ts('Order') ,
'description' => 'Controls display sort order.',
'required' => true,
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
'description' => array(
'name' => 'description',
'description' => 'Optional description.',
'rows' => 8,
'cols' => 60,
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Option is Header?') ,
'description' => 'Is this row simply a display header? Expected usage is to render these as OPTGROUP tags within a SELECT field list of options?',
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Option Is Reserved?') ,
'description' => 'Is this a predefined system object?',
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Option Is Active') ,
'description' => 'Is this option active?',
'default' => '1',
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
'component_id' => array(
'name' => 'component_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Option Component') ,
'description' => 'Component that this option value belongs/caters to.',
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
'FKClassName' => 'CRM_Core_DAO_Component',
'html' => array(
'type' => 'Select',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Option Domain') ,
'description' => 'Which Domain is this option value for',
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Option Visibility') ,
'default' => 'NULL',
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
'icon' => array(
'name' => 'icon',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'NULL',
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
'color' => array(
'name' => 'color',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'NULL',
+ 'table_name' => 'civicrm_option_value',
+ 'entity' => 'OptionValue',
+ 'bao' => 'CRM_Core_BAO_OptionValue',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Persistent.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9b08831f82375bb41e0f54c03b69b79e)
+ * (GenCodeChecksum:435a9aa78f94ebc91ddf5cccd749c06c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Persistent ID') ,
'description' => 'Persistent Record Id',
'required' => true,
+ 'table_name' => 'civicrm_persistent',
+ 'entity' => 'Persistent',
+ 'bao' => 'CRM_Core_BAO_Persistent',
) ,
'context' => array(
'name' => 'context',
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_persistent',
+ 'entity' => 'Persistent',
+ 'bao' => 'CRM_Core_BAO_Persistent',
) ,
'name' => array(
'name' => 'name',
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_persistent',
+ 'entity' => 'Persistent',
+ 'bao' => 'CRM_Core_BAO_Persistent',
) ,
'data' => array(
'name' => 'data',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Data') ,
'description' => 'data associated with name',
+ 'table_name' => 'civicrm_persistent',
+ 'entity' => 'Persistent',
+ 'bao' => 'CRM_Core_BAO_Persistent',
) ,
'is_config' => array(
'name' => 'is_config',
'title' => ts('Is Configuration?') ,
'description' => 'Config Settings',
'required' => true,
+ 'table_name' => 'civicrm_persistent',
+ 'entity' => 'Persistent',
+ 'bao' => 'CRM_Core_BAO_Persistent',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Phone.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:97437ba9054b6175f63fe45e1756081f)
+ * (GenCodeChecksum:5c4a5cc072b2fbe3bef7323078037a39)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Phone ID') ,
'description' => 'Unique Phone ID',
'required' => true,
+ 'table_name' => 'civicrm_phone',
+ 'entity' => 'Phone',
+ 'bao' => 'CRM_Core_BAO_Phone',
) ,
'contact_id' => array(
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Phone Contact') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_phone',
+ 'entity' => 'Phone',
+ 'bao' => 'CRM_Core_BAO_Phone',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'location_type_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Phone Location Type') ,
'description' => 'Which Location does this phone belong to.',
+ 'table_name' => 'civicrm_phone',
+ 'entity' => 'Phone',
+ 'bao' => 'CRM_Core_BAO_Phone',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Phone Primary?') ,
'description' => 'Is this the primary phone for this contact and location.',
+ 'table_name' => 'civicrm_phone',
+ 'entity' => 'Phone',
+ 'bao' => 'CRM_Core_BAO_Phone',
) ,
'is_billing' => array(
'name' => 'is_billing',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Billing Phone') ,
'description' => 'Is this the billing?',
+ 'table_name' => 'civicrm_phone',
+ 'entity' => 'Phone',
+ 'bao' => 'CRM_Core_BAO_Phone',
) ,
'mobile_provider_id' => array(
'name' => 'mobile_provider_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mobile Provider') ,
'description' => 'Which Mobile Provider does this phone belong to.',
+ 'table_name' => 'civicrm_phone',
+ 'entity' => 'Phone',
+ 'bao' => 'CRM_Core_BAO_Phone',
) ,
'phone' => array(
'name' => 'phone',
'headerPattern' => '/phone/i',
'dataPattern' => '/^[\d\(\)\-\.\s]+$/',
'export' => true,
+ 'table_name' => 'civicrm_phone',
+ 'entity' => 'Phone',
+ 'bao' => 'CRM_Core_BAO_Phone',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/extension/i',
'dataPattern' => '/^\d+$/',
'export' => true,
+ 'table_name' => 'civicrm_phone',
+ 'entity' => 'Phone',
+ 'bao' => 'CRM_Core_BAO_Phone',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Phone number stripped of all whitespace, letters, and punctuation.',
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_phone',
+ 'entity' => 'Phone',
+ 'bao' => 'CRM_Core_BAO_Phone',
) ,
'phone_type_id' => array(
'name' => 'phone_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Phone Type') ,
'description' => 'Which type of phone does this number belongs.',
+ 'table_name' => 'civicrm_phone',
+ 'entity' => 'Phone',
+ 'bao' => 'CRM_Core_BAO_Phone',
'html' => array(
'type' => 'Select',
) ,
*
* Generated from xml/schema/CRM/Core/PreferencesDate.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:85f54758c28f13fd4ec48f1bf45a9875)
+ * (GenCodeChecksum:83439f40bb9575f11349e417c71ca68e)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Date Preference ID') ,
'required' => true,
+ 'table_name' => 'civicrm_preferences_date',
+ 'entity' => 'PreferencesDate',
+ 'bao' => 'CRM_Core_BAO_PreferencesDate',
) ,
'name' => array(
'name' => 'name',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_preferences_date',
+ 'entity' => 'PreferencesDate',
+ 'bao' => 'CRM_Core_BAO_PreferencesDate',
) ,
'description' => array(
'name' => 'description',
'description' => 'Description of this date type.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_preferences_date',
+ 'entity' => 'PreferencesDate',
+ 'bao' => 'CRM_Core_BAO_PreferencesDate',
) ,
'start' => array(
'name' => 'start',
'title' => ts('Start') ,
'description' => 'The start offset relative to current year',
'required' => true,
+ 'table_name' => 'civicrm_preferences_date',
+ 'entity' => 'PreferencesDate',
+ 'bao' => 'CRM_Core_BAO_PreferencesDate',
) ,
'end' => array(
'name' => 'end',
'title' => ts('End Offset') ,
'description' => 'The end offset relative to current year, can be negative',
'required' => true,
+ 'table_name' => 'civicrm_preferences_date',
+ 'entity' => 'PreferencesDate',
+ 'bao' => 'CRM_Core_BAO_PreferencesDate',
) ,
'date_format' => array(
'name' => 'date_format',
'description' => 'The date type',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_preferences_date',
+ 'entity' => 'PreferencesDate',
+ 'bao' => 'CRM_Core_BAO_PreferencesDate',
) ,
'time_format' => array(
'name' => 'time_format',
'description' => 'time format',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_preferences_date',
+ 'entity' => 'PreferencesDate',
+ 'bao' => 'CRM_Core_BAO_PreferencesDate',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/PrevNextCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:50673715dba67219734f6235bf18f0db)
+ * (GenCodeChecksum:c8b28aa80b16b802dadc6f922048fc7d)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Prev Next Cache ID') ,
'required' => true,
+ 'table_name' => 'civicrm_prevnext_cache',
+ 'entity' => 'PrevNextCache',
+ 'bao' => 'CRM_Core_BAO_PrevNextCache',
) ,
'entity_table' => array(
'name' => 'entity_table',
'description' => 'physical tablename for entity being joined to discount, e.g. civicrm_event',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_prevnext_cache',
+ 'entity' => 'PrevNextCache',
+ 'bao' => 'CRM_Core_BAO_PrevNextCache',
) ,
'entity_id1' => array(
'name' => 'entity_id1',
'title' => ts('Prev Next Entity ID 1') ,
'description' => 'FK to entity table specified in entity_table column.',
'required' => true,
+ 'table_name' => 'civicrm_prevnext_cache',
+ 'entity' => 'PrevNextCache',
+ 'bao' => 'CRM_Core_BAO_PrevNextCache',
) ,
'entity_id2' => array(
'name' => 'entity_id2',
'title' => ts('Prev Next Entity ID 2') ,
'description' => 'FK to entity table specified in entity_table column.',
'required' => true,
+ 'table_name' => 'civicrm_prevnext_cache',
+ 'entity' => 'PrevNextCache',
+ 'bao' => 'CRM_Core_BAO_PrevNextCache',
) ,
'cacheKey' => array(
'name' => 'cacheKey',
'description' => 'Unique path name for cache element of the searched item',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_prevnext_cache',
+ 'entity' => 'PrevNextCache',
+ 'bao' => 'CRM_Core_BAO_PrevNextCache',
) ,
'data' => array(
'name' => 'data',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Prev Next Data') ,
'description' => 'cached snapshot of the serialized data',
+ 'table_name' => 'civicrm_prevnext_cache',
+ 'entity' => 'PrevNextCache',
+ 'bao' => 'CRM_Core_BAO_PrevNextCache',
) ,
'is_selected' => array(
'name' => 'is_selected',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Selected') ,
+ 'table_name' => 'civicrm_prevnext_cache',
+ 'entity' => 'PrevNextCache',
+ 'bao' => 'CRM_Core_BAO_PrevNextCache',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/PrintLabel.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f918d361f86f65ae2e6691b2d2dc062f)
+ * (GenCodeChecksum:bcabbb7ab1a643e2aeafe9cc0714027b)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Print Label ID') ,
'required' => true,
+ 'table_name' => 'civicrm_print_label',
+ 'entity' => 'PrintLabel',
+ 'bao' => 'CRM_Core_DAO_PrintLabel',
) ,
'title' => array(
'name' => 'title',
'description' => 'User title for for this label layout',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_print_label',
+ 'entity' => 'PrintLabel',
+ 'bao' => 'CRM_Core_DAO_PrintLabel',
) ,
'name' => array(
'name' => 'name',
'description' => 'variable name/programmatic handle for this field.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_print_label',
+ 'entity' => 'PrintLabel',
+ 'bao' => 'CRM_Core_DAO_PrintLabel',
) ,
'description' => array(
'name' => 'description',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Description') ,
'description' => 'Description of this label layout',
+ 'table_name' => 'civicrm_print_label',
+ 'entity' => 'PrintLabel',
+ 'bao' => 'CRM_Core_DAO_PrintLabel',
) ,
'label_format_name' => array(
'name' => 'label_format_name',
'description' => 'This refers to name column of civicrm_option_value row in name_badge option group',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_print_label',
+ 'entity' => 'PrintLabel',
+ 'bao' => 'CRM_Core_DAO_PrintLabel',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Label Type') ,
'description' => 'Implicit FK to civicrm_option_value row in NEW label_type option group',
+ 'table_name' => 'civicrm_print_label',
+ 'entity' => 'PrintLabel',
+ 'bao' => 'CRM_Core_DAO_PrintLabel',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Data') ,
'description' => 'contains json encode configurations options',
+ 'table_name' => 'civicrm_print_label',
+ 'entity' => 'PrintLabel',
+ 'bao' => 'CRM_Core_DAO_PrintLabel',
) ,
'is_default' => array(
'name' => 'is_default',
'title' => ts('Label is Default?') ,
'description' => 'Is this default?',
'default' => '1',
+ 'table_name' => 'civicrm_print_label',
+ 'entity' => 'PrintLabel',
+ 'bao' => 'CRM_Core_DAO_PrintLabel',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Label Is Active?') ,
'description' => 'Is this option active?',
'default' => '1',
+ 'table_name' => 'civicrm_print_label',
+ 'entity' => 'PrintLabel',
+ 'bao' => 'CRM_Core_DAO_PrintLabel',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'title' => ts('Is Label Reserved?') ,
'description' => 'Is this reserved label?',
'default' => '1',
+ 'table_name' => 'civicrm_print_label',
+ 'entity' => 'PrintLabel',
+ 'bao' => 'CRM_Core_DAO_PrintLabel',
) ,
'created_id' => array(
'name' => 'created_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Label Created By') ,
'description' => 'FK to civicrm_contact, who created this label layout',
+ 'table_name' => 'civicrm_print_label',
+ 'entity' => 'PrintLabel',
+ 'bao' => 'CRM_Core_DAO_PrintLabel',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
);
*
* Generated from xml/schema/CRM/Core/RecurringEntity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:313755d167ca428c11a245f50a786127)
+ * (GenCodeChecksum:5fb23a9b10fd9ba0dad2bfa4f28bd95a)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('ID') ,
'required' => true,
+ 'table_name' => 'civicrm_recurring_entity',
+ 'entity' => 'RecurringEntity',
+ 'bao' => 'CRM_Core_BAO_RecurringEntity',
) ,
'parent_id' => array(
'name' => 'parent_id',
'title' => ts('Parent ID') ,
'description' => 'Recurring Entity Parent ID',
'required' => true,
+ 'table_name' => 'civicrm_recurring_entity',
+ 'entity' => 'RecurringEntity',
+ 'bao' => 'CRM_Core_BAO_RecurringEntity',
) ,
'entity_id' => array(
'name' => 'entity_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Entity ID') ,
'description' => 'Recurring Entity Child ID',
+ 'table_name' => 'civicrm_recurring_entity',
+ 'entity' => 'RecurringEntity',
+ 'bao' => 'CRM_Core_BAO_RecurringEntity',
) ,
'entity_table' => array(
'name' => 'entity_table',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_recurring_entity',
+ 'entity' => 'RecurringEntity',
+ 'bao' => 'CRM_Core_BAO_RecurringEntity',
) ,
'mode' => array(
'name' => 'mode',
'description' => '1-this entity, 2-this and the following entities, 3-all the entities',
'required' => true,
'default' => '1',
+ 'table_name' => 'civicrm_recurring_entity',
+ 'entity' => 'RecurringEntity',
+ 'bao' => 'CRM_Core_BAO_RecurringEntity',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Setting.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cc5f4aca441eb6d874c637a53cabddd8)
+ * (GenCodeChecksum:91a0de9ff5f2bffc9dee33e917c07899)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Setting ID') ,
'required' => true,
+ 'table_name' => 'civicrm_setting',
+ 'entity' => 'Setting',
+ 'bao' => 'CRM_Core_BAO_Setting',
) ,
'name' => array(
'name' => 'name',
'description' => 'Unique name for setting',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_setting',
+ 'entity' => 'Setting',
+ 'bao' => 'CRM_Core_BAO_Setting',
) ,
'value' => array(
'name' => 'value',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Value') ,
'description' => 'data associated with this group / name combo',
+ 'table_name' => 'civicrm_setting',
+ 'entity' => 'Setting',
+ 'bao' => 'CRM_Core_BAO_Setting',
) ,
'domain_id' => array(
'name' => 'domain_id',
'title' => ts('Setting Domain') ,
'description' => 'Which Domain is this menu item for',
'required' => true,
+ 'table_name' => 'civicrm_setting',
+ 'entity' => 'Setting',
+ 'bao' => 'CRM_Core_BAO_Setting',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Setting Contact') ,
'description' => 'FK to Contact ID if the setting is localized to a contact',
+ 'table_name' => 'civicrm_setting',
+ 'entity' => 'Setting',
+ 'bao' => 'CRM_Core_BAO_Setting',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'is_domain' => array(
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Domain Setting?') ,
'description' => 'Is this setting a contact specific or site wide setting?',
+ 'table_name' => 'civicrm_setting',
+ 'entity' => 'Setting',
+ 'bao' => 'CRM_Core_BAO_Setting',
) ,
'component_id' => array(
'name' => 'component_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Setting Component') ,
'description' => 'Component that this menu item belongs to',
+ 'table_name' => 'civicrm_setting',
+ 'entity' => 'Setting',
+ 'bao' => 'CRM_Core_BAO_Setting',
'FKClassName' => 'CRM_Core_DAO_Component',
'html' => array(
'type' => 'Select',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Setting Created Date') ,
'description' => 'When was the setting created',
+ 'table_name' => 'civicrm_setting',
+ 'entity' => 'Setting',
+ 'bao' => 'CRM_Core_BAO_Setting',
) ,
'created_id' => array(
'name' => 'created_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Setting Created By') ,
'description' => 'FK to civicrm_contact, who created this setting',
+ 'table_name' => 'civicrm_setting',
+ 'entity' => 'Setting',
+ 'bao' => 'CRM_Core_BAO_Setting',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
);
*
* Generated from xml/schema/CRM/Core/StateProvince.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:70c072816098c4cbd13b7c13218c35e8)
+ * (GenCodeChecksum:e5dfa02e49518692335417068be35aa9)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('State ID') ,
'description' => 'State/Province ID',
'required' => true,
+ 'table_name' => 'civicrm_state_province',
+ 'entity' => 'StateProvince',
+ 'bao' => 'CRM_Core_DAO_StateProvince',
) ,
'name' => array(
'name' => 'name',
'headerPattern' => '/state|prov(ince)?/i',
'dataPattern' => '/[A-Z]{2}/',
'export' => true,
+ 'table_name' => 'civicrm_state_province',
+ 'entity' => 'StateProvince',
+ 'bao' => 'CRM_Core_DAO_StateProvince',
) ,
'abbreviation' => array(
'name' => 'abbreviation',
'description' => '2-4 Character Abbreviation of State/Province',
'maxlength' => 4,
'size' => CRM_Utils_Type::FOUR,
+ 'table_name' => 'civicrm_state_province',
+ 'entity' => 'StateProvince',
+ 'bao' => 'CRM_Core_DAO_StateProvince',
) ,
'country_id' => array(
'name' => 'country_id',
'title' => ts('Country') ,
'description' => 'ID of Country that State/Province belong',
'required' => true,
+ 'table_name' => 'civicrm_state_province',
+ 'entity' => 'StateProvince',
+ 'bao' => 'CRM_Core_DAO_StateProvince',
'FKClassName' => 'CRM_Core_DAO_Country',
) ,
);
*
* Generated from xml/schema/CRM/Core/StatusPreference.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a4010608f5b37f8e703fd4ae4b63bb35)
+ * (GenCodeChecksum:85d69d553067343befccf2308e6e9cc5)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Status Preference ID') ,
'description' => 'Unique Status Preference ID',
'required' => true,
+ 'table_name' => 'civicrm_status_pref',
+ 'entity' => 'StatusPreference',
+ 'bao' => 'CRM_Core_BAO_StatusPreference',
) ,
'domain_id' => array(
'name' => 'domain_id',
'title' => ts('Setting Domain') ,
'description' => 'Which Domain is this Status Preference for',
'required' => true,
+ 'table_name' => 'civicrm_status_pref',
+ 'entity' => 'StatusPreference',
+ 'bao' => 'CRM_Core_BAO_StatusPreference',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_status_pref',
+ 'entity' => 'StatusPreference',
+ 'bao' => 'CRM_Core_BAO_StatusPreference',
) ,
'hush_until' => array(
'name' => 'hush_until',
'dataPattern' => '',
'export' => true,
'default' => 'NULL',
+ 'table_name' => 'civicrm_status_pref',
+ 'entity' => 'StatusPreference',
+ 'bao' => 'CRM_Core_BAO_StatusPreference',
) ,
'ignore_severity' => array(
'name' => 'ignore_severity',
'dataPattern' => '',
'export' => true,
'default' => '1',
+ 'table_name' => 'civicrm_status_pref',
+ 'entity' => 'StatusPreference',
+ 'bao' => 'CRM_Core_BAO_StatusPreference',
'pseudoconstant' => array(
'callback' => 'CRM_Utils_Check::getSeverityList',
)
'description' => 'These settings are per-check, and can\'t be compared across checks.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_status_pref',
+ 'entity' => 'StatusPreference',
+ 'bao' => 'CRM_Core_BAO_StatusPreference',
) ,
'check_info' => array(
'name' => 'check_info',
'description' => 'These values are per-check, and can\'t be compared across checks.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_status_pref',
+ 'entity' => 'StatusPreference',
+ 'bao' => 'CRM_Core_BAO_StatusPreference',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/SystemLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:de437db587f1fb4d7f90320e3e42db2c)
+ * (GenCodeChecksum:593327a2dbc09824972cc4d44fbd6893)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('System Log ID') ,
'description' => 'Primary key ID',
'required' => true,
+ 'table_name' => 'civicrm_system_log',
+ 'entity' => 'SystemLog',
+ 'bao' => 'CRM_Core_DAO_SystemLog',
) ,
'message' => array(
'name' => 'message',
'required' => true,
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_system_log',
+ 'entity' => 'SystemLog',
+ 'bao' => 'CRM_Core_DAO_SystemLog',
) ,
'context' => array(
'name' => 'context',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Detailed Log Data') ,
'description' => 'JSON encoded data',
+ 'table_name' => 'civicrm_system_log',
+ 'entity' => 'SystemLog',
+ 'bao' => 'CRM_Core_DAO_SystemLog',
) ,
'level' => array(
'name' => 'level',
'maxlength' => 9,
'size' => CRM_Utils_Type::TWELVE,
'default' => 'info',
+ 'table_name' => 'civicrm_system_log',
+ 'entity' => 'SystemLog',
+ 'bao' => 'CRM_Core_DAO_SystemLog',
) ,
'timestamp' => array(
'name' => 'timestamp',
'title' => ts('Log Timestamp') ,
'description' => 'Timestamp of when event occurred.',
'default' => 'CURRENT_TIMESTAMP',
+ 'table_name' => 'civicrm_system_log',
+ 'entity' => 'SystemLog',
+ 'bao' => 'CRM_Core_DAO_SystemLog',
) ,
'contact_id' => array(
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Log Contact ID') ,
'description' => 'Optional Contact ID that created the log. Not an FK as we keep this regardless',
+ 'table_name' => 'civicrm_system_log',
+ 'entity' => 'SystemLog',
+ 'bao' => 'CRM_Core_DAO_SystemLog',
) ,
'hostname' => array(
'name' => 'hostname',
'description' => 'Optional Name of logging host',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_system_log',
+ 'entity' => 'SystemLog',
+ 'bao' => 'CRM_Core_DAO_SystemLog',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Tag.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1e6ad1d5a7c05b1a7d300d2a7722ba4d)
+ * (GenCodeChecksum:d676c3ec724cfc5f8b03e891b148c7ab)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Tag ID') ,
'description' => 'Tag ID',
'required' => true,
+ 'table_name' => 'civicrm_tag',
+ 'entity' => 'Tag',
+ 'bao' => 'CRM_Core_BAO_Tag',
) ,
'name' => array(
'name' => 'name',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_tag',
+ 'entity' => 'Tag',
+ 'bao' => 'CRM_Core_BAO_Tag',
) ,
'description' => array(
'name' => 'description',
'description' => 'Optional verbose description of the tag.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_tag',
+ 'entity' => 'Tag',
+ 'bao' => 'CRM_Core_BAO_Tag',
) ,
'parent_id' => array(
'name' => 'parent_id',
'title' => ts('Parent Tag') ,
'description' => 'Optional parent id for this tag.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_tag',
+ 'entity' => 'Tag',
+ 'bao' => 'CRM_Core_BAO_Tag',
'FKClassName' => 'CRM_Core_DAO_Tag',
) ,
'is_selectable' => array(
'title' => ts('Display Tag?') ,
'description' => 'Is this tag selectable / displayed',
'default' => '1',
+ 'table_name' => 'civicrm_tag',
+ 'entity' => 'Tag',
+ 'bao' => 'CRM_Core_BAO_Tag',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Reserved') ,
+ 'table_name' => 'civicrm_tag',
+ 'entity' => 'Tag',
+ 'bao' => 'CRM_Core_BAO_Tag',
) ,
'is_tagset' => array(
'name' => 'is_tagset',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Tagset') ,
+ 'table_name' => 'civicrm_tag',
+ 'entity' => 'Tag',
+ 'bao' => 'CRM_Core_BAO_Tag',
) ,
'used_for' => array(
'name' => 'used_for',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'default' => 'NULL',
+ 'table_name' => 'civicrm_tag',
+ 'entity' => 'Tag',
+ 'bao' => 'CRM_Core_BAO_Tag',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Tag Created By') ,
'description' => 'FK to civicrm_contact, who created this tag',
+ 'table_name' => 'civicrm_tag',
+ 'entity' => 'Tag',
+ 'bao' => 'CRM_Core_BAO_Tag',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'color' => array(
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'NULL',
+ 'table_name' => 'civicrm_tag',
+ 'entity' => 'Tag',
+ 'bao' => 'CRM_Core_BAO_Tag',
) ,
'created_date' => array(
'name' => 'created_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Tag Created Date') ,
'description' => 'Date and time that tag was created.',
+ 'table_name' => 'civicrm_tag',
+ 'entity' => 'Tag',
+ 'bao' => 'CRM_Core_BAO_Tag',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Timezone.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7c62b5e4fa45d144d5defc849ee0ca6f)
+ * (GenCodeChecksum:42027e07849551eac4deddd0eb21da5d)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Timezone ID') ,
'description' => 'Timezone Id',
'required' => true,
+ 'table_name' => 'civicrm_timezone',
+ 'entity' => 'Timezone',
+ 'bao' => 'CRM_Core_DAO_Timezone',
) ,
'name' => array(
'name' => 'name',
'description' => 'Timezone full name',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_timezone',
+ 'entity' => 'Timezone',
+ 'bao' => 'CRM_Core_DAO_Timezone',
) ,
'abbreviation' => array(
'name' => 'abbreviation',
'description' => 'ISO Code for timezone abbreviation',
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
+ 'table_name' => 'civicrm_timezone',
+ 'entity' => 'Timezone',
+ 'bao' => 'CRM_Core_DAO_Timezone',
) ,
'gmt' => array(
'name' => 'gmt',
'description' => 'GMT name of the timezone',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_timezone',
+ 'entity' => 'Timezone',
+ 'bao' => 'CRM_Core_DAO_Timezone',
) ,
'offset' => array(
'name' => 'offset',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('GMT Offset') ,
+ 'table_name' => 'civicrm_timezone',
+ 'entity' => 'Timezone',
+ 'bao' => 'CRM_Core_DAO_Timezone',
) ,
'country_id' => array(
'name' => 'country_id',
'title' => ts('Country') ,
'description' => 'Country Id',
'required' => true,
+ 'table_name' => 'civicrm_timezone',
+ 'entity' => 'Timezone',
+ 'bao' => 'CRM_Core_DAO_Timezone',
'FKClassName' => 'CRM_Core_DAO_Country',
) ,
);
*
* Generated from xml/schema/CRM/Core/UFField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4565f52f669979587f1e3e1b6f6a1684)
+ * (GenCodeChecksum:7fdc008a9c2681e68699bbb85690cfc6)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Profile Field ID') ,
'description' => 'Unique table ID',
'required' => true,
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'uf_group_id' => array(
'name' => 'uf_group_id',
'title' => ts('Profile ID') ,
'description' => 'Which form does this field belong to.',
'required' => true,
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
'FKClassName' => 'CRM_Core_DAO_UFGroup',
'html' => array(
'type' => 'Select',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Profile Field Is Active') ,
'description' => 'Is this field currently shareable? If false, hide the field for all sharing contexts.',
'default' => '1',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'is_view' => array(
'name' => 'is_view',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Profile Is View Only') ,
'description' => 'the field is view only and not editable in user forms.',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'is_required' => array(
'name' => 'is_required',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Profile Field Is Required') ,
'description' => 'Is this field required when included in a user or registration form?',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'weight' => array(
'name' => 'weight',
'description' => 'Controls field display order when user framework fields are displayed in registration and account editing forms.',
'required' => true,
'default' => '1',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'help_post' => array(
'name' => 'help_post',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Profile Field Post Help') ,
'description' => 'Description and/or help text to display after this field.',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'help_pre' => array(
'name' => 'help_pre',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Profile Field Pre Help') ,
'description' => 'Description and/or help text to display before this field.',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'visibility' => array(
'name' => 'visibility',
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
'default' => 'User and User Admin Only',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Profile Field Is a Filter') ,
'description' => 'Is this field included as a column in the selector table?',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'is_searchable' => array(
'name' => 'is_searchable',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Profile Field Is Searchable') ,
'description' => 'Is this field included search form of profile?',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'location_type_id' => array(
'name' => 'location_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Profile Field Location Type') ,
'description' => 'Location type of this mapping, if required',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
'FKClassName' => 'CRM_Core_DAO_LocationType',
) ,
'phone_type_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Profile Field Phone Type') ,
'description' => 'Phone Type Id, if required',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'website_type_id' => array(
'name' => 'website_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Profile Field Website Type') ,
'description' => 'Website Type Id, if required',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'label' => array(
'name' => 'label',
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'field_type' => array(
'name' => 'field_type',
'description' => 'This field saves field type (ie individual,household.. field etc).',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Profile Field Is Reserved') ,
'description' => 'Is this field reserved for use by some other CiviCRM functionality?',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
'is_multi_summary' => array(
'name' => 'is_multi_summary',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Profile Field Supports Multiple') ,
'description' => 'Include in multi-record listing?',
+ 'table_name' => 'civicrm_uf_field',
+ 'entity' => 'UFField',
+ 'bao' => 'CRM_Core_BAO_UFField',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/UFGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0428de652198e17e9b651a08e38f9cc4)
+ * (GenCodeChecksum:16bf8f20b843d4d8824e37d8f922108b)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Profile ID') ,
'description' => 'Unique table ID',
'required' => true,
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Profile Is Active') ,
'description' => 'Is this form currently active? If false, hide all related fields for all sharing contexts.',
'default' => '1',
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'group_type' => array(
'name' => 'group_type',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'title' => array(
'name' => 'title',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'description' => array(
'name' => 'description',
'description' => 'Optional verbose description of the profile.',
'rows' => 2,
'cols' => 60,
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Description and/or help text to display before fields in form.',
'rows' => 4,
'cols' => 80,
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Description and/or help text to display after fields in form.',
'rows' => 4,
'cols' => 80,
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Profile Search Limit Group') ,
'description' => 'Group id, foreign key from civicrm_group',
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
'FKClassName' => 'CRM_Contact_DAO_Group',
) ,
'post_URL' => array(
'description' => 'Redirect to URL.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'add_to_group_id' => array(
'name' => 'add_to_group_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Add Contact To Group') ,
'description' => 'foreign key to civicrm_group_id',
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
'FKClassName' => 'CRM_Contact_DAO_Group',
) ,
'add_captcha' => array(
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Show Captcha On Profile') ,
'description' => 'Should a CAPTCHA widget be included this Profile form.',
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'is_map' => array(
'name' => 'is_map',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Map Profile') ,
'description' => 'Do we want to map results from this profile.',
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'is_edit_link' => array(
'name' => 'is_edit_link',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Show Edit Link?') ,
'description' => 'Should edit link display in profile selector',
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'is_uf_link' => array(
'name' => 'is_uf_link',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Show Link to CMS User') ,
'description' => 'Should we display a link to the website profile in profile selector',
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'is_update_dupe' => array(
'name' => 'is_update_dupe',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Update on Duplicate') ,
'description' => 'Should we update the contact record if we find a duplicate',
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'cancel_URL' => array(
'name' => 'cancel_URL',
'description' => 'Redirect to URL when Cancle button clik .',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'is_cms_user' => array(
'name' => 'is_cms_user',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Create CMS User?') ,
'description' => 'Should we create a cms user for this profile ',
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'notify' => array(
'name' => 'notify',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Notify on Profile Submit') ,
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Profile Is Reserved') ,
'description' => 'Is this group reserved for use by some other CiviCRM functionality?',
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'name' => array(
'name' => 'name',
'description' => 'Name of the UF group for directly addressing it in the codebase',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'created_id' => array(
'name' => 'created_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Profile Created By') ,
'description' => 'FK to civicrm_contact, who created this UF group',
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'created_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('UF Group Created Date') ,
'description' => 'Date and time this UF group was created.',
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
'is_proximity_search' => array(
'name' => 'is_proximity_search',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Include Proximity Search?') ,
'description' => 'Should we include proximity search feature in this profile search form?',
+ 'table_name' => 'civicrm_uf_group',
+ 'entity' => 'UFGroup',
+ 'bao' => 'CRM_Core_BAO_UFGroup',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/UFJoin.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0c93775718d7f983d457974f5a733491)
+ * (GenCodeChecksum:ff46cde9614a8c441e00dc66cdeb8667)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('UF Join ID') ,
'description' => 'Unique table ID',
'required' => true,
+ 'table_name' => 'civicrm_uf_join',
+ 'entity' => 'UFJoin',
+ 'bao' => 'CRM_Core_BAO_UFJoin',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Profile Use is active') ,
'description' => 'Is this join currently active?',
'default' => '1',
+ 'table_name' => 'civicrm_uf_join',
+ 'entity' => 'UFJoin',
+ 'bao' => 'CRM_Core_BAO_UFJoin',
) ,
'module' => array(
'name' => 'module',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_uf_join',
+ 'entity' => 'UFJoin',
+ 'bao' => 'CRM_Core_BAO_UFJoin',
) ,
'entity_table' => array(
'name' => 'entity_table',
'description' => 'Name of table where item being referenced is stored. Modules which only need a single collection of uf_join instances may choose not to populate entity_table and entity_id.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_uf_join',
+ 'entity' => 'UFJoin',
+ 'bao' => 'CRM_Core_BAO_UFJoin',
'pseudoconstant' => array(
'callback' => 'CRM_Core_BAO_UFJoin::entityTables',
)
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Profile Entity ID') ,
'description' => 'Foreign key to the referenced item.',
+ 'table_name' => 'civicrm_uf_join',
+ 'entity' => 'UFJoin',
+ 'bao' => 'CRM_Core_BAO_UFJoin',
) ,
'weight' => array(
'name' => 'weight',
'description' => 'Controls display order when multiple user framework groups are setup for concurrent display.',
'required' => true,
'default' => '1',
+ 'table_name' => 'civicrm_uf_join',
+ 'entity' => 'UFJoin',
+ 'bao' => 'CRM_Core_BAO_UFJoin',
) ,
'uf_group_id' => array(
'name' => 'uf_group_id',
'title' => ts('Profile ID') ,
'description' => 'Which form does this field belong to.',
'required' => true,
+ 'table_name' => 'civicrm_uf_join',
+ 'entity' => 'UFJoin',
+ 'bao' => 'CRM_Core_BAO_UFJoin',
'FKClassName' => 'CRM_Core_DAO_UFGroup',
'html' => array(
'type' => 'Select',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Profile Use Data') ,
'description' => 'Json serialized array of data used by the ufjoin.module',
+ 'table_name' => 'civicrm_uf_join',
+ 'entity' => 'UFJoin',
+ 'bao' => 'CRM_Core_BAO_UFJoin',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/UFMatch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3753b535177e56dd00e57a1acb5d85a1)
+ * (GenCodeChecksum:7a4ca7be149cba37dc9cfb8c2885989c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('UF Match ID') ,
'description' => 'System generated ID.',
'required' => true,
+ 'table_name' => 'civicrm_uf_match',
+ 'entity' => 'UFMatch',
+ 'bao' => 'CRM_Core_BAO_UFMatch',
) ,
'domain_id' => array(
'name' => 'domain_id',
'title' => ts('UF Match Domain ID') ,
'description' => 'Which Domain is this match entry for',
'required' => true,
+ 'table_name' => 'civicrm_uf_match',
+ 'entity' => 'UFMatch',
+ 'bao' => 'CRM_Core_BAO_UFMatch',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'title' => ts('CMS ID') ,
'description' => 'UF ID',
'required' => true,
+ 'table_name' => 'civicrm_uf_match',
+ 'entity' => 'UFMatch',
+ 'bao' => 'CRM_Core_BAO_UFMatch',
) ,
'uf_name' => array(
'name' => 'uf_name',
'description' => 'UF Name',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_uf_match',
+ 'entity' => 'UFMatch',
+ 'bao' => 'CRM_Core_BAO_UFMatch',
) ,
'contact_id' => array(
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('CiviCRM Contact ID') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_uf_match',
+ 'entity' => 'UFMatch',
+ 'bao' => 'CRM_Core_BAO_UFMatch',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'language' => array(
'description' => 'UI language preferred by the given user/contact',
'maxlength' => 5,
'size' => CRM_Utils_Type::SIX,
+ 'table_name' => 'civicrm_uf_match',
+ 'entity' => 'UFMatch',
+ 'bao' => 'CRM_Core_BAO_UFMatch',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Core/Website.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:40a585fbb41385458f0332b03388c078)
+ * (GenCodeChecksum:42189dd53f14c27bba3cc5f498ad1324)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Website ID') ,
'description' => 'Unique Website ID',
'required' => true,
+ 'table_name' => 'civicrm_website',
+ 'entity' => 'Website',
+ 'bao' => 'CRM_Core_BAO_Website',
) ,
'contact_id' => array(
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contact') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_website',
+ 'entity' => 'Website',
+ 'bao' => 'CRM_Core_BAO_Website',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'url' => array(
'headerPattern' => '/Website/i',
'dataPattern' => '/^[A-Za-z][0-9A-Za-z]{20,}$/',
'export' => true,
+ 'table_name' => 'civicrm_website',
+ 'entity' => 'Website',
+ 'bao' => 'CRM_Core_BAO_Website',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Website Type') ,
'description' => 'Which Website type does this website belong to.',
+ 'table_name' => 'civicrm_website',
+ 'entity' => 'Website',
+ 'bao' => 'CRM_Core_BAO_Website',
'html' => array(
'type' => 'Select',
) ,
*
* Generated from xml/schema/CRM/Core/WordReplacement.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:92b2139ba33ee66fec3e6bb529af304e)
+ * (GenCodeChecksum:ae2435f4e472f131fa088a232ae6d88e)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Word Replacement ID') ,
'description' => 'Word replacement ID',
'required' => true,
+ 'table_name' => 'civicrm_word_replacement',
+ 'entity' => 'WordReplacement',
+ 'bao' => 'CRM_Core_BAO_WordReplacement',
) ,
'find_word' => array(
'name' => 'find_word',
'description' => 'Word which need to be replaced',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_word_replacement',
+ 'entity' => 'WordReplacement',
+ 'bao' => 'CRM_Core_BAO_WordReplacement',
) ,
'replace_word' => array(
'name' => 'replace_word',
'description' => 'Word which will replace the word in find',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_word_replacement',
+ 'entity' => 'WordReplacement',
+ 'bao' => 'CRM_Core_BAO_WordReplacement',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Word Replacement is Active') ,
'description' => 'Is this entry active?',
'default' => '1',
+ 'table_name' => 'civicrm_word_replacement',
+ 'entity' => 'WordReplacement',
+ 'bao' => 'CRM_Core_BAO_WordReplacement',
) ,
'match_type' => array(
'name' => 'match_type',
'maxlength' => 16,
'size' => CRM_Utils_Type::TWELVE,
'default' => 'wildcardMatch',
+ 'table_name' => 'civicrm_word_replacement',
+ 'entity' => 'WordReplacement',
+ 'bao' => 'CRM_Core_BAO_WordReplacement',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Word Replacement Domain ID') ,
'description' => 'FK to Domain ID. This is for Domain specific word replacement',
+ 'table_name' => 'civicrm_word_replacement',
+ 'entity' => 'WordReplacement',
+ 'bao' => 'CRM_Core_BAO_WordReplacement',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
*
* Generated from xml/schema/CRM/Core/Worldregion.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:710a568363468092ddc0fc7d1b14abd1)
+ * (GenCodeChecksum:f5c8d65e40e3ba2255256675c0aa863f)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('World Region ID') ,
'description' => 'Country Id',
'required' => true,
+ 'table_name' => 'civicrm_worldregion',
+ 'entity' => 'Worldregion',
+ 'bao' => 'CRM_Core_DAO_Worldregion',
) ,
'world_region' => array(
'name' => 'name',
'where' => 'civicrm_worldregion.name',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_worldregion',
+ 'entity' => 'Worldregion',
+ 'bao' => 'CRM_Core_DAO_Worldregion',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Cxn/Cxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:486a0a360a4a9913e94e3879e51300f6)
+ * (GenCodeChecksum:72b767c4b9d246ef1efb8b9c7c5b6312)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Connection ID') ,
'description' => 'Connection ID',
'required' => true,
+ 'table_name' => 'civicrm_cxn',
+ 'entity' => 'Cxn',
+ 'bao' => 'CRM_Cxn_BAO_Cxn',
) ,
'app_guid' => array(
'name' => 'app_guid',
'description' => 'Application GUID',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_cxn',
+ 'entity' => 'Cxn',
+ 'bao' => 'CRM_Cxn_BAO_Cxn',
) ,
'app_meta' => array(
'name' => 'app_meta',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Application Metadata (JSON)') ,
'description' => 'Application Metadata (JSON)',
+ 'table_name' => 'civicrm_cxn',
+ 'entity' => 'Cxn',
+ 'bao' => 'CRM_Cxn_BAO_Cxn',
) ,
'cxn_guid' => array(
'name' => 'cxn_guid',
'description' => 'Connection GUID',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_cxn',
+ 'entity' => 'Cxn',
+ 'bao' => 'CRM_Cxn_BAO_Cxn',
) ,
'secret' => array(
'name' => 'secret',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Secret') ,
'description' => 'Shared secret',
+ 'table_name' => 'civicrm_cxn',
+ 'entity' => 'Cxn',
+ 'bao' => 'CRM_Cxn_BAO_Cxn',
) ,
'perm' => array(
'name' => 'perm',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Perm') ,
'description' => 'Permissions approved for the service (JSON)',
+ 'table_name' => 'civicrm_cxn',
+ 'entity' => 'Cxn',
+ 'bao' => 'CRM_Cxn_BAO_Cxn',
) ,
'options' => array(
'name' => 'options',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Options') ,
'description' => 'Options for the service (JSON)',
+ 'table_name' => 'civicrm_cxn',
+ 'entity' => 'Cxn',
+ 'bao' => 'CRM_Cxn_BAO_Cxn',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Is Active') ,
'description' => 'Is connection currently enabled?',
'default' => '1',
+ 'table_name' => 'civicrm_cxn',
+ 'entity' => 'Cxn',
+ 'bao' => 'CRM_Cxn_BAO_Cxn',
) ,
'created_date' => array(
'name' => 'created_date',
'description' => 'When was the connection was created.',
'required' => false,
'default' => 'NULL',
+ 'table_name' => 'civicrm_cxn',
+ 'entity' => 'Cxn',
+ 'bao' => 'CRM_Cxn_BAO_Cxn',
) ,
'modified_date' => array(
'name' => 'modified_date',
'description' => 'When the connection was created or modified.',
'required' => false,
'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP',
+ 'table_name' => 'civicrm_cxn',
+ 'entity' => 'Cxn',
+ 'bao' => 'CRM_Cxn_BAO_Cxn',
) ,
'fetched_date' => array(
'name' => 'fetched_date',
'description' => 'The last time the application metadata was fetched.',
'required' => false,
'default' => 'NULL',
+ 'table_name' => 'civicrm_cxn',
+ 'entity' => 'Cxn',
+ 'bao' => 'CRM_Cxn_BAO_Cxn',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Dedupe/Exception.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dcb340c85bb19050f0ed6c4c46dc8a4f)
+ * (GenCodeChecksum:1686b10aca53b1028d00ba93c1275a01)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Dedupe Exception ID') ,
'description' => 'Unique dedupe exception id',
'required' => true,
+ 'table_name' => 'civicrm_dedupe_exception',
+ 'entity' => 'Exception',
+ 'bao' => 'CRM_Dedupe_DAO_Exception',
) ,
'contact_id1' => array(
'name' => 'contact_id1',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('First Dupe Contact ID') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_dedupe_exception',
+ 'entity' => 'Exception',
+ 'bao' => 'CRM_Dedupe_DAO_Exception',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'contact_id2' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Second Dupe Contact ID') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_dedupe_exception',
+ 'entity' => 'Exception',
+ 'bao' => 'CRM_Dedupe_DAO_Exception',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
);
*
* Generated from xml/schema/CRM/Dedupe/Rule.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:083bfadf2e54fb13a6875d14f2e52b5a)
+ * (GenCodeChecksum:04d8d83fcc9facdeae7f32f1f0f0134d)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Dedupe Rule ID') ,
'description' => 'Unique dedupe rule id',
'required' => true,
+ 'table_name' => 'civicrm_dedupe_rule',
+ 'entity' => 'Rule',
+ 'bao' => 'CRM_Dedupe_BAO_Rule',
) ,
'dedupe_rule_group_id' => array(
'name' => 'dedupe_rule_group_id',
'title' => ts('Dedupe Rule Group') ,
'description' => 'The id of the rule group this rule belongs to',
'required' => true,
+ 'table_name' => 'civicrm_dedupe_rule',
+ 'entity' => 'Rule',
+ 'bao' => 'CRM_Dedupe_BAO_Rule',
'FKClassName' => 'CRM_Dedupe_DAO_RuleGroup',
) ,
'rule_table' => array(
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_dedupe_rule',
+ 'entity' => 'Rule',
+ 'bao' => 'CRM_Dedupe_BAO_Rule',
) ,
'rule_field' => array(
'name' => 'rule_field',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_dedupe_rule',
+ 'entity' => 'Rule',
+ 'bao' => 'CRM_Dedupe_BAO_Rule',
) ,
'rule_length' => array(
'name' => 'rule_length',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Rule Length') ,
'description' => 'The length of the matching substring',
+ 'table_name' => 'civicrm_dedupe_rule',
+ 'entity' => 'Rule',
+ 'bao' => 'CRM_Dedupe_BAO_Rule',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Order') ,
'description' => 'The weight of the rule',
'required' => true,
+ 'table_name' => 'civicrm_dedupe_rule',
+ 'entity' => 'Rule',
+ 'bao' => 'CRM_Dedupe_BAO_Rule',
'html' => array(
'type' => 'Text',
) ,
*
* Generated from xml/schema/CRM/Dedupe/RuleGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8abbb6f14d0c67212a271bc1a08b57c2)
+ * (GenCodeChecksum:025711212afbee5275704d4a7e63868f)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Rule Group ID') ,
'description' => 'Unique dedupe rule group id',
'required' => true,
+ 'table_name' => 'civicrm_dedupe_rule_group',
+ 'entity' => 'RuleGroup',
+ 'bao' => 'CRM_Dedupe_BAO_RuleGroup',
) ,
'contact_type' => array(
'name' => 'contact_type',
'description' => 'The type of contacts this group applies to',
'maxlength' => 12,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_dedupe_rule_group',
+ 'entity' => 'RuleGroup',
+ 'bao' => 'CRM_Dedupe_BAO_RuleGroup',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Threshold') ,
'description' => 'The weight threshold the sum of the rule weights has to cross to consider two contacts the same',
'required' => true,
+ 'table_name' => 'civicrm_dedupe_rule_group',
+ 'entity' => 'RuleGroup',
+ 'bao' => 'CRM_Dedupe_BAO_RuleGroup',
'html' => array(
'type' => 'Text',
) ,
'required' => true,
'maxlength' => 12,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_dedupe_rule_group',
+ 'entity' => 'RuleGroup',
+ 'bao' => 'CRM_Dedupe_BAO_RuleGroup',
'html' => array(
'type' => 'Radio',
) ,
'description' => 'Name of the rule group',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_dedupe_rule_group',
+ 'entity' => 'RuleGroup',
+ 'bao' => 'CRM_Dedupe_BAO_RuleGroup',
) ,
'title' => array(
'name' => 'title',
'description' => 'Label of the rule group',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_dedupe_rule_group',
+ 'entity' => 'RuleGroup',
+ 'bao' => 'CRM_Dedupe_BAO_RuleGroup',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Reserved?') ,
'description' => 'Is this a reserved rule - a rule group that has been optimized and cannot be changed by the admin',
+ 'table_name' => 'civicrm_dedupe_rule_group',
+ 'entity' => 'RuleGroup',
+ 'bao' => 'CRM_Dedupe_BAO_RuleGroup',
'html' => array(
'type' => 'CheckBox',
) ,
*
* Generated from xml/schema/CRM/Event/Cart/Cart.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8570af177a3699d8c171da3fc47baead)
+ * (GenCodeChecksum:d4897397e64f37a6e13086f1d4cab2ce)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Cart ID') ,
'description' => 'Cart Id',
'required' => true,
+ 'table_name' => 'civicrm_event_carts',
+ 'entity' => 'Cart',
+ 'bao' => 'CRM_Event_Cart_BAO_Cart',
) ,
'user_id' => array(
'name' => 'user_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Created By') ,
'description' => 'FK to civicrm_contact who created this cart',
+ 'table_name' => 'civicrm_event_carts',
+ 'entity' => 'Cart',
+ 'bao' => 'CRM_Event_Cart_BAO_Cart',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'completed' => array(
'name' => 'completed',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Complete?') ,
+ 'table_name' => 'civicrm_event_carts',
+ 'entity' => 'Cart',
+ 'bao' => 'CRM_Event_Cart_BAO_Cart',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Event/Cart/EventInCart.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a4e5911c90ffc91d0dceb60bf024afc8)
+ * (GenCodeChecksum:7fc2704d7a10bd0af8f9a34ab7adf2f1)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Event In Cart') ,
'description' => 'Event In Cart Id',
'required' => true,
+ 'table_name' => 'civicrm_events_in_carts',
+ 'entity' => 'EventInCart',
+ 'bao' => 'CRM_Event_Cart_BAO_EventInCart',
) ,
'event_id' => array(
'name' => 'event_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Event') ,
'description' => 'FK to Event ID',
+ 'table_name' => 'civicrm_events_in_carts',
+ 'entity' => 'EventInCart',
+ 'bao' => 'CRM_Event_Cart_BAO_EventInCart',
'FKClassName' => 'CRM_Event_DAO_Event',
) ,
'event_cart_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Event In Cart') ,
'description' => 'FK to Event Cart ID',
+ 'table_name' => 'civicrm_events_in_carts',
+ 'entity' => 'EventInCart',
+ 'bao' => 'CRM_Event_Cart_BAO_EventInCart',
'FKClassName' => 'CRM_Event_Cart_DAO_Cart',
) ,
);
*
* Generated from xml/schema/CRM/Event/Event.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:852ff9c0ec07c4eff96a484e1b44f781)
+ * (GenCodeChecksum:014eddf6b4d26ee14495d25e73ed6b64)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Event ID') ,
'description' => 'Event',
'required' => true,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
) ,
'event_title' => array(
'name' => 'title',
'headerPattern' => '/(event.)?title$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Brief summary of event. Text and html allowed. Displayed on Event Registration form and can be used on other CMS pages which need an event summary.',
'rows' => 4,
'cols' => 60,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Full description of event. Text and html allowed. Displayed on built-in Event Information screens.',
'rows' => 8,
'cols' => 60,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Event Type') ,
'description' => 'Event Type ID.Implicit FK to civicrm_option_value where option_group = event_type.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Participant Listing') ,
'description' => 'Should we expose the participant list? Implicit FK to civicrm_option_value where option_group = participant_listing.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Is Event Public') ,
'description' => 'Public events will be included in the iCal feeds. Access to private event information may be limited using ACLs.',
'default' => '1',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '/^start|(s(tart\s)?date)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Select Date',
) ,
'headerPattern' => '/^end|(e(nd\s)?date)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Select Date',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Online Registration') ,
'description' => 'If true, include registration link on Event Info page.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'description' => 'Text for link to Event Registration form which is displayed on Event Information screen when is_online_registration is true.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Registration Start Date') ,
'description' => 'Date and time that online registration starts.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Select Date',
) ,
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Registration End Date') ,
'description' => 'Date and time that online registration ends.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Select Date',
) ,
'title' => ts('Max Participants') ,
'description' => 'Maximum number of registered participants to allow. After max is reached, a custom Event Full message is displayed. If NULL, allow unlimited number of participants.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Message to display on Event Information page and INSTEAD OF Event Registration form if maximum participants are signed up. Can include email address/info about getting on a waiting list, etc. Text and html allowed.',
'rows' => 4,
'cols' => 60,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is this a PAID event?') ,
'description' => 'If true, one or more fee amounts must be set and a Payment Processor must be configured for Online Event Registration.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'title' => ts('Financial Type') ,
'description' => 'Financial type assigned to paid event registrations for this event. Required if is_monetary is true.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Select',
) ,
'description' => 'Payment Processors configured for this Event (if is_monetary is true)',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Map Enabled') ,
'description' => 'Include a map block on the Event Information page when geocode info is available and a mapping provider has been specified?',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Active') ,
'description' => 'Is this Event enabled or disabled/cancelled?',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '/^fee|(f(ee\s)?label)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('show location') ,
'description' => 'If true, show event location.',
'default' => '1',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Location Block ID') ,
'description' => 'FK to Location Block ID',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'FKClassName' => 'CRM_Core_DAO_LocBlock',
) ,
'default_role_id' => array(
'dataPattern' => '',
'export' => true,
'default' => '1',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Select',
) ,
'description' => 'Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.',
'rows' => 6,
'cols' => 50,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.',
'rows' => 6,
'cols' => 50,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'TextArea',
) ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'NULL',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.',
'rows' => 6,
'cols' => 50,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.',
'rows' => 6,
'cols' => 50,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is confirm email') ,
'description' => 'If true, confirmation is automatically emailed to contact on successful registration.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'description' => 'text to include above standard event info on confirmation email. emails are text-only, so do not allow html for now',
'rows' => 4,
'cols' => 50,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'FROM email name used for confirmation emails.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'description' => 'FROM email address used for confirmation emails.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'description' => 'comma-separated list of email addresses to cc each time a confirmation is sent',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'description' => 'comma-separated list of email addresses to bcc each time a confirmation is sent',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Default Fee ID') ,
'description' => 'FK to civicrm_option_value.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
) ,
'default_discount_fee_id' => array(
'name' => 'default_discount_fee_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Default Discount Fee ID') ,
'description' => 'FK to civicrm_option_value.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
) ,
'thankyou_title' => array(
'name' => 'thankyou_title',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'NULL',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'description' => 'ThankYou Text.',
'rows' => 6,
'cols' => 50,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Footer message.',
'rows' => 6,
'cols' => 50,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Pay Later Allowed') ,
'description' => 'if true - allows the user to send payment directly to the org later',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Pay Later Text') ,
'description' => 'The text displayed to the user in the main form',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Pay Later Receipt Text') ,
'description' => 'The receipt sent to the user instead of the normal receipt text',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Partial Payments Enabled') ,
'description' => 'is partial payment enabled for this event',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'description' => 'Initial amount label for partial payment',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Initial Amount Help Text') ,
'description' => 'Initial amount help text for partial payment',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
20,
2
) ,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Allow Multiple Registrations') ,
'description' => 'if true - allows the user to register multiple participants for event',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Maximum number of additional participants per registration') ,
'description' => 'Maximum number of additional participants that can be registered on a single booking',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
) ,
'allow_same_participant_emails' => array(
'name' => 'allow_same_participant_emails',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Does Event allow multiple registrations from same email address?') ,
'description' => 'if true - allows the user to register multiple registrations from same email address.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Waitlist Enabled') ,
'description' => 'Whether the event has waitlist support.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Requires Approval') ,
'description' => 'Whether participants require approval before they can finish registering.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Expiration Time') ,
'description' => 'Expire pending but unconfirmed registrations after this many hours.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Allow Self-service Cancellation or Transfer') ,
'description' => 'Allow self service cancellation or transfer for event?',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Self-service Cancellation or Transfer Time') ,
'description' => 'Number of hours prior to event start date to allow self-service cancellation or transfer.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Text to display when the event is full, but participants can signup for a waitlist.',
'rows' => 4,
'cols' => 60,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Text to display when the approval is required to complete registration for an event.',
'rows' => 4,
'cols' => 60,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'TextArea',
) ,
'title' => ts('Is an Event Template') ,
'description' => 'whether the event has template',
'required' => true,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '/(template.)?title$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Created By Contact ID') ,
'description' => 'FK to civicrm_contact, who created this event',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'created_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Event Created Date') ,
'description' => 'Date and time that event was created.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
) ,
'currency' => array(
'name' => 'currency',
'headerPattern' => '/cur(rency)?/i',
'dataPattern' => '/^[A-Z]{3}$/i',
'export' => true,
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Campaign') ,
'description' => 'The campaign for which this event has been created.',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'html' => array(
'type' => 'EntityRef',
'title' => ts('Is shared through social media') ,
'description' => 'Can people share the event through social media?',
'default' => '1',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'title' => ts('Is the booking confirmation screen enabled?') ,
'description' => 'If false, the event booking confirmation screen gets skipped',
'default' => '1',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
'title' => ts('Parent Event ID') ,
'description' => 'Implicit FK to civicrm_event: parent event',
'default' => 'NULL',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'EntityRef',
) ,
'title' => ts('Subevent Slot Label ID') ,
'description' => 'Subevent slot label. Implicit FK to civicrm_option_value where option_group = conference_slot.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Dedupe Rule') ,
'description' => 'Rule to use when matching registrations for this event',
'default' => 'NULL',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'FKClassName' => 'CRM_Dedupe_DAO_RuleGroup',
'html' => array(
'type' => 'Select',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is billing block required') ,
'description' => 'if true than billing block is required this event',
+ 'table_name' => 'civicrm_event',
+ 'entity' => 'Event',
+ 'bao' => 'CRM_Event_BAO_Event',
'html' => array(
'type' => 'CheckBox',
) ,
*
* Generated from xml/schema/CRM/Event/Participant.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5c9653302e7cc416c68b794981f9f9b8)
+ * (GenCodeChecksum:3c53d2d7a62cf0428fef11b9df02fcd2)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'headerPattern' => '/(^(participant(.)?)?id$)/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
) ,
'participant_contact_id' => array(
'name' => 'contact_id',
'headerPattern' => '/contact(.?id)?/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'event_id' => array(
'headerPattern' => '/event id$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
'FKClassName' => 'CRM_Event_DAO_Event',
) ,
'participant_status_id' => array(
'dataPattern' => '',
'export' => true,
'default' => '1',
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
'FKClassName' => 'CRM_Event_DAO_ParticipantStatusType',
'html' => array(
'type' => 'Select',
'dataPattern' => '',
'export' => true,
'default' => 'NULL',
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '/^(r(egister\s)?date)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
+ 'html' => array(
+ 'type' => 'Select Date',
+ 'format' => 'activityDateTime',
+ ) ,
) ,
'participant_source' => array(
'name' => 'source',
'headerPattern' => '/(participant.)?(source)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
) ,
'participant_fee_level' => array(
'name' => 'fee_level',
'headerPattern' => '/^(f(ee\s)?level)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
) ,
'participant_is_test' => array(
'name' => 'is_test',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
) ,
'participant_is_pay_later' => array(
'name' => 'is_pay_later',
'headerPattern' => '/(is.)?(pay(.)?later)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
) ,
'participant_fee_amount' => array(
'name' => 'fee_amount',
'headerPattern' => '/fee(.?am(ou)?nt)?/i',
'dataPattern' => '/^\d+(\.\d{2})?$/',
'export' => true,
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
) ,
'participant_registered_by_id' => array(
'name' => 'registered_by_id',
'dataPattern' => '',
'export' => true,
'default' => 'NULL',
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
'FKClassName' => 'CRM_Event_DAO_Participant',
) ,
'participant_discount_id' => array(
'title' => ts('Discount ID') ,
'description' => 'FK to Discount ID',
'default' => 'NULL',
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
'FKClassName' => 'CRM_Core_DAO_Discount',
) ,
'participant_fee_currency' => array(
'dataPattern' => '/^[A-Z]{3}$/i',
'export' => true,
'default' => 'NULL',
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'pseudoconstant' => array(
'table' => 'civicrm_campaign',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Discount Amount') ,
'description' => 'Discount Amount',
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
) ,
'cart_id' => array(
'name' => 'cart_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Event Cart ID') ,
'description' => 'FK to civicrm_event_carts',
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
'FKClassName' => 'CRM_Event_Cart_DAO_Cart',
) ,
'must_wait' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Must Wait on List') ,
'description' => 'On Waiting List',
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
) ,
'transferred_to_contact_id' => array(
'name' => 'transferred_to_contact_id',
'dataPattern' => '',
'export' => true,
'default' => 'NULL',
+ 'table_name' => 'civicrm_participant',
+ 'entity' => 'Participant',
+ 'bao' => 'CRM_Event_BAO_Participant',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
);
*
* Generated from xml/schema/CRM/Event/ParticipantPayment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c007647ef27d75ac1b1bcdc74ac1a2b7)
+ * (GenCodeChecksum:98af10333d1dca08770a55573e291c32)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Payment ID') ,
'description' => 'Participant Payment Id',
'required' => true,
+ 'table_name' => 'civicrm_participant_payment',
+ 'entity' => 'ParticipantPayment',
+ 'bao' => 'CRM_Event_BAO_ParticipantPayment',
) ,
'participant_id' => array(
'name' => 'participant_id',
'title' => ts('Participant ID') ,
'description' => 'Participant Id (FK)',
'required' => true,
+ 'table_name' => 'civicrm_participant_payment',
+ 'entity' => 'ParticipantPayment',
+ 'bao' => 'CRM_Event_BAO_ParticipantPayment',
'FKClassName' => 'CRM_Event_DAO_Participant',
) ,
'contribution_id' => array(
'title' => ts('Contribution') ,
'description' => 'FK to contribution table.',
'required' => true,
+ 'table_name' => 'civicrm_participant_payment',
+ 'entity' => 'ParticipantPayment',
+ 'bao' => 'CRM_Event_BAO_ParticipantPayment',
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
) ,
);
*
* Generated from xml/schema/CRM/Event/ParticipantStatusType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c129b855ca83f4e0e659f57936b92799)
+ * (GenCodeChecksum:c9d362916fb5d3e9c3ffa089517bff7e)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Participant Status Type ID') ,
'description' => 'unique participant status type id',
'required' => true,
+ 'table_name' => 'civicrm_participant_status_type',
+ 'entity' => 'ParticipantStatusType',
+ 'bao' => 'CRM_Event_BAO_ParticipantStatusType',
) ,
'participant_status' => array(
'name' => 'name',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_participant_status_type',
+ 'entity' => 'ParticipantStatusType',
+ 'bao' => 'CRM_Event_BAO_ParticipantStatusType',
) ,
'label' => array(
'name' => 'label',
'description' => 'localized label for display of this status type',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_participant_status_type',
+ 'entity' => 'ParticipantStatusType',
+ 'bao' => 'CRM_Event_BAO_ParticipantStatusType',
) ,
'class' => array(
'name' => 'class',
'description' => 'the general group of status type this one belongs to',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_participant_status_type',
+ 'entity' => 'ParticipantStatusType',
+ 'bao' => 'CRM_Event_BAO_ParticipantStatusType',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Participant Status Is Reserved?>') ,
'description' => 'whether this is a status type required by the system',
+ 'table_name' => 'civicrm_participant_status_type',
+ 'entity' => 'ParticipantStatusType',
+ 'bao' => 'CRM_Event_BAO_ParticipantStatusType',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Participant Status is Active') ,
'description' => 'whether this status type is active',
'default' => '1',
+ 'table_name' => 'civicrm_participant_status_type',
+ 'entity' => 'ParticipantStatusType',
+ 'bao' => 'CRM_Event_BAO_ParticipantStatusType',
) ,
'is_counted' => array(
'name' => 'is_counted',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Participant Status Counts?') ,
'description' => 'whether this status type is counted against event size limit',
+ 'table_name' => 'civicrm_participant_status_type',
+ 'entity' => 'ParticipantStatusType',
+ 'bao' => 'CRM_Event_BAO_ParticipantStatusType',
) ,
'weight' => array(
'name' => 'weight',
'title' => ts('Order') ,
'description' => 'controls sort order',
'required' => true,
+ 'table_name' => 'civicrm_participant_status_type',
+ 'entity' => 'ParticipantStatusType',
+ 'bao' => 'CRM_Event_BAO_ParticipantStatusType',
) ,
'visibility_id' => array(
'name' => 'visibility_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Participant Status Visibility') ,
'description' => 'whether the status type is visible to the public, an implicit foreign key to option_value.value related to the `visibility` option_group',
+ 'table_name' => 'civicrm_participant_status_type',
+ 'entity' => 'ParticipantStatusType',
+ 'bao' => 'CRM_Event_BAO_ParticipantStatusType',
'html' => array(
'type' => 'Select',
) ,
*
* Generated from xml/schema/CRM/Financial/Currency.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:deabd1e34379cc8d360e65777d1d4c9b)
+ * (GenCodeChecksum:901761be1a81c165e690e7cafe8fe419)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Currency ID') ,
'description' => 'Currency Id',
'required' => true,
+ 'table_name' => 'civicrm_currency',
+ 'entity' => 'Currency',
+ 'bao' => 'CRM_Financial_DAO_Currency',
) ,
'name' => array(
'name' => 'name',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_currency',
+ 'entity' => 'Currency',
+ 'bao' => 'CRM_Financial_DAO_Currency',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Currency Symbol',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_currency',
+ 'entity' => 'Currency',
+ 'bao' => 'CRM_Financial_DAO_Currency',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_currency',
+ 'entity' => 'Currency',
+ 'bao' => 'CRM_Financial_DAO_Currency',
) ,
'full_name' => array(
'name' => 'full_name',
'description' => 'Full currency name',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_currency',
+ 'entity' => 'Currency',
+ 'bao' => 'CRM_Financial_DAO_Currency',
'html' => array(
'type' => 'Text',
) ,
*
* Generated from xml/schema/CRM/Financial/EntityFinancialAccount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:13b6c60f03bc97b4cd018e009e43fbf9)
+ * (GenCodeChecksum:46b680193ab75e97679a2521282b1cc0)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Entity Financial Account ID') ,
'description' => 'ID',
'required' => true,
+ 'table_name' => 'civicrm_entity_financial_account',
+ 'entity' => 'EntityFinancialAccount',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount',
) ,
'entity_table' => array(
'name' => 'entity_table',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_entity_financial_account',
+ 'entity' => 'EntityFinancialAccount',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Entity ID') ,
'description' => 'Links to an id in the entity_table, such as vid in civicrm_financial_type',
'required' => true,
+ 'table_name' => 'civicrm_entity_financial_account',
+ 'entity' => 'EntityFinancialAccount',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount',
) ,
'account_relationship' => array(
'name' => 'account_relationship',
'title' => ts('Account Relationship') ,
'description' => 'FK to a new civicrm_option_value (account_relationship)',
'required' => true,
+ 'table_name' => 'civicrm_entity_financial_account',
+ 'entity' => 'EntityFinancialAccount',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Financial Account') ,
'description' => 'FK to the financial_account_id',
'required' => true,
+ 'table_name' => 'civicrm_entity_financial_account',
+ 'entity' => 'EntityFinancialAccount',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialAccount',
'FKClassName' => 'CRM_Financial_DAO_FinancialAccount',
'html' => array(
'type' => 'Select',
*
* Generated from xml/schema/CRM/Financial/EntityFinancialTrxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:42848b82aaf63e76e1848ea1a6dbd4b2)
+ * (GenCodeChecksum:058c355295d7bbbdefb1421ba1d2a294)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Entity Financial Transaction ID') ,
'description' => 'ID',
'required' => true,
+ 'table_name' => 'civicrm_entity_financial_trxn',
+ 'entity' => 'EntityFinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
) ,
'entity_table' => array(
'name' => 'entity_table',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_entity_financial_trxn',
+ 'entity' => 'EntityFinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
) ,
'entity_id' => array(
'name' => 'entity_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Entity ID') ,
'required' => true,
+ 'table_name' => 'civicrm_entity_financial_trxn',
+ 'entity' => 'EntityFinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
) ,
'financial_trxn_id' => array(
'name' => 'financial_trxn_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Financial Transaction Id') ,
+ 'table_name' => 'civicrm_entity_financial_trxn',
+ 'entity' => 'EntityFinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
'FKClassName' => 'CRM_Financial_DAO_FinancialTrxn',
) ,
'amount' => array(
'headerPattern' => '/amount/i',
'dataPattern' => '/^\d+(\.\d{2})?$/',
'export' => true,
+ 'table_name' => 'civicrm_entity_financial_trxn',
+ 'entity' => 'EntityFinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_EntityFinancialTrxn',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Financial/FinancialAccount.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f8ca05b54a4b94d2636d0da894b7236f)
+ * (GenCodeChecksum:e2138251a2433069b991db111a5f55d2)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Financial Account ID') ,
'description' => 'ID',
'required' => true,
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
'name' => array(
'name' => 'name',
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
'financial_account_contact_id' => array(
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contact ID') ,
'description' => 'FK to Contact ID that is responsible for the funds in this account',
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'financial_account_type_id' => array(
'description' => 'pseudo FK into civicrm_option_value.',
'required' => true,
'default' => '3',
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
'html' => array(
'type' => 'Select',
) ,
'where' => 'civicrm_financial_account.accounting_code',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
'account_type_code' => array(
'name' => 'account_type_code',
'where' => 'civicrm_financial_account.account_type_code',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
'description' => array(
'name' => 'description',
'description' => 'Financial Type Description.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
'parent_id' => array(
'name' => 'parent_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Financial Account Parent') ,
'description' => 'Parent ID in account hierarchy',
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
'FKClassName' => 'CRM_Financial_DAO_FinancialAccount',
) ,
'is_header_account' => array(
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Header Financial Account?') ,
'description' => 'Is this a header account which does not allow transactions to be posted against it directly, but only to its sub-accounts?',
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
'is_deductible' => array(
'name' => 'is_deductible',
'title' => ts('Deductible Financial Account?') ,
'description' => 'Is this account tax-deductible?',
'default' => '1',
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
'is_tax' => array(
'name' => 'is_tax',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Tax Financial Account?') ,
'description' => 'Is this account for taxes?',
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
'tax_rate' => array(
'name' => 'tax_rate',
10,
8
) ,
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Reserved Financial Account?') ,
'description' => 'Is this a predefined system object?',
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Financial Account is Active') ,
'description' => 'Is this property active?',
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
'is_default' => array(
'name' => 'is_default',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Default Financial Account') ,
'description' => 'Is this account the default one (or default tax one) for its financial_account_type?',
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
'opening_balance' => array(
'name' => 'opening_balance',
20,
2
) ,
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
'current_period_opening_balance' => array(
'name' => 'current_period_opening_balance',
20,
2
) ,
+ 'table_name' => 'civicrm_financial_account',
+ 'entity' => 'FinancialAccount',
+ 'bao' => 'CRM_Financial_BAO_FinancialAccount',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Financial/FinancialItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4abc5641f9aab2a8d925cf5898a3a858)
+ * (GenCodeChecksum:090a94af55641978012615f30c962781)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Financial Item ID') ,
'required' => true,
+ 'table_name' => 'civicrm_financial_item',
+ 'entity' => 'FinancialItem',
+ 'bao' => 'CRM_Financial_BAO_FinancialItem',
) ,
'created_date' => array(
'name' => 'created_date',
'description' => 'Date and time the item was created',
'required' => true,
'default' => 'CURRENT_TIMESTAMP',
+ 'table_name' => 'civicrm_financial_item',
+ 'entity' => 'FinancialItem',
+ 'bao' => 'CRM_Financial_BAO_FinancialItem',
) ,
'transaction_date' => array(
'name' => 'transaction_date',
'title' => ts('Financial Item Transaction Date') ,
'description' => 'Date and time of the source transaction',
'required' => true,
+ 'table_name' => 'civicrm_financial_item',
+ 'entity' => 'FinancialItem',
+ 'bao' => 'CRM_Financial_BAO_FinancialItem',
) ,
'contact_id' => array(
'name' => 'contact_id',
'where' => 'civicrm_financial_item.contact_id',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_financial_item',
+ 'entity' => 'FinancialItem',
+ 'bao' => 'CRM_Financial_BAO_FinancialItem',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'description' => array(
'description' => 'Human readable description of this item, to ease display without lookup of source item.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_financial_item',
+ 'entity' => 'FinancialItem',
+ 'bao' => 'CRM_Financial_BAO_FinancialItem',
) ,
'amount' => array(
'name' => 'amount',
20,
2
) ,
+ 'table_name' => 'civicrm_financial_item',
+ 'entity' => 'FinancialItem',
+ 'bao' => 'CRM_Financial_BAO_FinancialItem',
) ,
'currency' => array(
'name' => 'currency',
'where' => 'civicrm_financial_item.currency',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_financial_item',
+ 'entity' => 'FinancialItem',
+ 'bao' => 'CRM_Financial_BAO_FinancialItem',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Financial Account ID') ,
'description' => 'FK to civicrm_financial_account',
+ 'table_name' => 'civicrm_financial_item',
+ 'entity' => 'FinancialItem',
+ 'bao' => 'CRM_Financial_BAO_FinancialItem',
'FKClassName' => 'CRM_Financial_DAO_FinancialAccount',
'html' => array(
'type' => 'Select',
'where' => 'civicrm_financial_item.status_id',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_financial_item',
+ 'entity' => 'FinancialItem',
+ 'bao' => 'CRM_Financial_BAO_FinancialItem',
'html' => array(
'type' => 'Select',
) ,
'description' => 'The table providing the source of this item such as civicrm_line_item',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_financial_item',
+ 'entity' => 'FinancialItem',
+ 'bao' => 'CRM_Financial_BAO_FinancialItem',
) ,
'entity_id' => array(
'name' => 'entity_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Entity ID') ,
'description' => 'The specific source item that is responsible for the creation of this financial_item',
+ 'table_name' => 'civicrm_financial_item',
+ 'entity' => 'FinancialItem',
+ 'bao' => 'CRM_Financial_BAO_FinancialItem',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Financial/FinancialTrxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fec5d6572bfe0de3f9dc41afd33fee9b)
+ * (GenCodeChecksum:f8e72183039a2faadf244264d5f5da22)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Financial Transaction ID') ,
'required' => true,
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
) ,
'from_financial_account_id' => array(
'name' => 'from_financial_account_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Financial Transaction From Account') ,
'description' => 'FK to financial_account table.',
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
'FKClassName' => 'CRM_Financial_DAO_FinancialAccount',
'html' => array(
'type' => 'Select',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Financial Transaction To Account') ,
'description' => 'FK to financial_financial_account table.',
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
'FKClassName' => 'CRM_Financial_DAO_FinancialAccount',
'html' => array(
'type' => 'Select',
'title' => ts('Financial Transaction Date') ,
'description' => 'date transaction occurred',
'default' => 'NULL',
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
) ,
'total_amount' => array(
'name' => 'total_amount',
20,
2
) ,
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
) ,
'fee_amount' => array(
'name' => 'fee_amount',
20,
2
) ,
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
) ,
'net_amount' => array(
'name' => 'net_amount',
20,
2
) ,
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
) ,
'currency' => array(
'name' => 'currency',
'dataPattern' => '/^[A-Z]{3}$/',
'export' => true,
'default' => 'NULL',
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
) ,
'trxn_id' => array(
'name' => 'trxn_id',
'description' => 'Transaction id supplied by external processor. This may not be unique.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
) ,
'trxn_result_code' => array(
'name' => 'trxn_result_code',
'description' => 'processor result code',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
) ,
'status_id' => array(
'name' => 'status_id',
'headerPattern' => '/status/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
'pseudoconstant' => array(
'optionGroupName' => 'contribution_status',
'optionEditPath' => 'civicrm/admin/options/contribution_status',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Payment Processor') ,
'description' => 'Payment Processor for this financial transaction',
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor',
) ,
'financial_trxn_payment_instrument_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Payment Method') ,
'description' => 'FK to payment_instrument option group values',
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
'html' => array(
'type' => 'Select',
) ,
'description' => 'Check number',
'maxlength' => 255,
'size' => 6,
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
'html' => array(
'type' => 'Text',
) ,
*
* Generated from xml/schema/CRM/Financial/FinancialType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:70310c419681152b59c27bc1b3e013d9)
+ * (GenCodeChecksum:9afeed9e1cb73cc4abf490d723ff4ea1)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Financial Type ID') ,
'description' => 'ID of original financial_type so you can search this table by the financial_type.id and then select the relevant version based on the timestamp',
'required' => true,
+ 'table_name' => 'civicrm_financial_type',
+ 'entity' => 'FinancialType',
+ 'bao' => 'CRM_Financial_BAO_FinancialType',
) ,
'financial_type' => array(
'name' => 'name',
'headerPattern' => '/(finan(cial)?)?type/i',
'dataPattern' => '/donation|member|campaign/i',
'export' => true,
+ 'table_name' => 'civicrm_financial_type',
+ 'entity' => 'FinancialType',
+ 'bao' => 'CRM_Financial_BAO_FinancialType',
) ,
'description' => array(
'name' => 'description',
'description' => 'Financial Type Description.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_financial_type',
+ 'entity' => 'FinancialType',
+ 'bao' => 'CRM_Financial_BAO_FinancialType',
) ,
'is_deductible' => array(
'name' => 'is_deductible',
'title' => ts('Is Tax Deductible?') ,
'description' => 'Is this financial type tax-deductible? If true, contributions of this type may be fully OR partially deductible - non-deductible amount is stored in the Contribution record.',
'default' => '1',
+ 'table_name' => 'civicrm_financial_type',
+ 'entity' => 'FinancialType',
+ 'bao' => 'CRM_Financial_BAO_FinancialType',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Financial Type is Reserved?') ,
'description' => 'Is this a predefined system object?',
+ 'table_name' => 'civicrm_financial_type',
+ 'entity' => 'FinancialType',
+ 'bao' => 'CRM_Financial_BAO_FinancialType',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Financial Type Is Active?') ,
'description' => 'Is this property active?',
+ 'table_name' => 'civicrm_financial_type',
+ 'entity' => 'FinancialType',
+ 'bao' => 'CRM_Financial_BAO_FinancialType',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:562f15d08243acea7e0fe53e2affe9ff)
+ * (GenCodeChecksum:d5485d41addbdca4a391125775dea22c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Payment Processor ID') ,
'description' => 'Payment Processor ID',
'required' => true,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'domain_id' => array(
'name' => 'domain_id',
'title' => ts('Payment Processor Domain') ,
'description' => 'Which Domain is this match entry for',
'required' => true,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'description' => 'Payment Processor Name.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'description' => array(
'name' => 'description',
'description' => 'Payment Processor Description.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'payment_processor_type_id' => array(
'name' => 'payment_processor_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Payment Processor Type ID') ,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
'FKClassName' => 'CRM_Financial_DAO_PaymentProcessorType',
'pseudoconstant' => array(
'table' => 'civicrm_payment_processor_type',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Processor is Active?') ,
'description' => 'Is this processor active?',
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'is_default' => array(
'name' => 'is_default',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Processor Is Default?') ,
'description' => 'Is this processor the default?',
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'is_test' => array(
'name' => 'is_test',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Test Processor?') ,
'description' => 'Is this processor for a test site?',
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'user_name' => array(
'name' => 'user_name',
'title' => ts('User Name') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'password' => array(
'name' => 'password',
'title' => ts('Password') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'signature' => array(
'name' => 'signature',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Signature') ,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'url_site' => array(
'name' => 'url_site',
'title' => ts('Site URL') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'url_api' => array(
'name' => 'url_api',
'title' => ts('API URL') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'url_recur' => array(
'name' => 'url_recur',
'title' => ts('Recurring Payments URL') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'url_button' => array(
'name' => 'url_button',
'title' => ts('Button URL') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'subject' => array(
'name' => 'subject',
'title' => ts('Subject') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'class_name' => array(
'name' => 'class_name',
'title' => ts('Suffix for PHP class name implementation') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'billing_mode' => array(
'name' => 'billing_mode',
'title' => ts('Processor Billing Mode') ,
'description' => 'Billing Mode (deprecated)',
'required' => true,
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'is_recur' => array(
'name' => 'is_recur',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Processor Supports Recurring?') ,
'description' => 'Can process recurring contributions',
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'payment_type' => array(
'name' => 'payment_type',
'title' => ts('Payment Type') ,
'description' => 'Payment Type: Credit or Debit (deprecated)',
'default' => '1',
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
'payment_instrument_id' => array(
'name' => 'payment_instrument_id',
'title' => ts('Payment Method') ,
'description' => 'Payment Instrument ID',
'default' => '1',
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
'pseudoconstant' => array(
'optionGroupName' => 'payment_instrument',
'optionEditPath' => 'civicrm/admin/options/payment_instrument',
'title' => ts('Accepted Credit Cards') ,
'description' => 'array of accepted credit card types',
'default' => 'NULL',
+ 'table_name' => 'civicrm_payment_processor',
+ 'entity' => 'PaymentProcessor',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessor',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Financial/PaymentProcessorType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:580f1a6f2d7a243acf2ed4efe383ad12)
+ * (GenCodeChecksum:39cdf5f44260a922c605275692b91f07)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Payment Processor Type ID') ,
'description' => 'Payment Processor Type ID',
'required' => true,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'name' => array(
'name' => 'name',
'description' => 'Payment Processor Name.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'title' => array(
'name' => 'title',
'description' => 'Payment Processor Name.',
'maxlength' => 127,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'description' => array(
'name' => 'description',
'description' => 'Payment Processor Description.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Processor Type Is Active?') ,
'description' => 'Is this processor active?',
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'is_default' => array(
'name' => 'is_default',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Processor Type is Default?') ,
'description' => 'Is this processor the default?',
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'user_name_label' => array(
'name' => 'user_name_label',
'title' => ts('Label for User Name if used') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'password_label' => array(
'name' => 'password_label',
'title' => ts('Label for password') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'signature_label' => array(
'name' => 'signature_label',
'title' => ts('Label for Signature') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'subject_label' => array(
'name' => 'subject_label',
'title' => ts('Label for Subject') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'class_name' => array(
'name' => 'class_name',
'title' => ts('Suffix for PHP class name implementation') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'url_site_default' => array(
'name' => 'url_site_default',
'title' => ts('Default Live Site URL') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'url_api_default' => array(
'name' => 'url_api_default',
'title' => ts('Default API Site URL') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'url_recur_default' => array(
'name' => 'url_recur_default',
'title' => ts('Default Live Recurring Payments URL') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'url_button_default' => array(
'name' => 'url_button_default',
'title' => ts('Default Live Button URL') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'url_site_test_default' => array(
'name' => 'url_site_test_default',
'title' => ts('Default Test Site URL') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'url_api_test_default' => array(
'name' => 'url_api_test_default',
'title' => ts('Default Test API URL') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'url_recur_test_default' => array(
'name' => 'url_recur_test_default',
'title' => ts('Default Test Recurring Payment URL') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'url_button_test_default' => array(
'name' => 'url_button_test_default',
'title' => ts('Default Test Button URL') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'billing_mode' => array(
'name' => 'billing_mode',
'title' => ts('Billing Mode') ,
'description' => 'Billing Mode (deprecated)',
'required' => true,
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Processor Type Supports Recurring?') ,
'description' => 'Can process recurring contributions',
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'payment_type' => array(
'name' => 'payment_type',
'title' => ts('Processor Type Payment Type') ,
'description' => 'Payment Type: Credit or Debit (deprecated)',
'default' => '1',
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
) ,
'payment_instrument_id' => array(
'name' => 'payment_instrument_id',
'title' => ts('Payment Method') ,
'description' => 'Payment Instrument ID',
'default' => '1',
+ 'table_name' => 'civicrm_payment_processor_type',
+ 'entity' => 'PaymentProcessorType',
+ 'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
'pseudoconstant' => array(
'optionGroupName' => 'payment_instrument',
'optionEditPath' => 'civicrm/admin/options/payment_instrument',
*
* Generated from xml/schema/CRM/Financial/PaymentToken.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5eb52139a66fec2b47a6b3f461339599)
+ * (GenCodeChecksum:5fc7f512cc85341d815456cf9c355797)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Payment Token ID') ,
'description' => 'Payment Token ID',
'required' => true,
+ 'table_name' => 'civicrm_payment_token',
+ 'entity' => 'PaymentToken',
+ 'bao' => 'CRM_Financial_DAO_PaymentToken',
) ,
'contact_id' => array(
'name' => 'contact_id',
'title' => ts('Contact ID') ,
'description' => 'FK to Contact ID for the owner of the token',
'required' => true,
+ 'table_name' => 'civicrm_payment_token',
+ 'entity' => 'PaymentToken',
+ 'bao' => 'CRM_Financial_DAO_PaymentToken',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'payment_processor_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Payment Processor ID') ,
'required' => true,
+ 'table_name' => 'civicrm_payment_token',
+ 'entity' => 'PaymentToken',
+ 'bao' => 'CRM_Financial_DAO_PaymentToken',
'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor',
) ,
'token' => array(
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_token',
+ 'entity' => 'PaymentToken',
+ 'bao' => 'CRM_Financial_DAO_PaymentToken',
) ,
'created_date' => array(
'name' => 'created_date',
'title' => ts('Created Date') ,
'description' => 'Date created',
'default' => 'CURRENT_TIMESTAMP',
+ 'table_name' => 'civicrm_payment_token',
+ 'entity' => 'PaymentToken',
+ 'bao' => 'CRM_Financial_DAO_PaymentToken',
) ,
'created_id' => array(
'name' => 'created_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Created ID') ,
'description' => 'Contact ID of token creator',
+ 'table_name' => 'civicrm_payment_token',
+ 'entity' => 'PaymentToken',
+ 'bao' => 'CRM_Financial_DAO_PaymentToken',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'expiry_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Expiry Date') ,
'description' => 'Date this token expires',
+ 'table_name' => 'civicrm_payment_token',
+ 'entity' => 'PaymentToken',
+ 'bao' => 'CRM_Financial_DAO_PaymentToken',
) ,
'email' => array(
'name' => 'email',
'description' => 'Email at the time of token creation. Useful for fraud forensics',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_token',
+ 'entity' => 'PaymentToken',
+ 'bao' => 'CRM_Financial_DAO_PaymentToken',
) ,
'billing_first_name' => array(
'name' => 'billing_first_name',
'description' => 'Billing first name at the time of token creation. Useful for fraud forensics',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_token',
+ 'entity' => 'PaymentToken',
+ 'bao' => 'CRM_Financial_DAO_PaymentToken',
) ,
'billing_middle_name' => array(
'name' => 'billing_middle_name',
'description' => 'Billing middle name at the time of token creation. Useful for fraud forensics',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_token',
+ 'entity' => 'PaymentToken',
+ 'bao' => 'CRM_Financial_DAO_PaymentToken',
) ,
'billing_last_name' => array(
'name' => 'billing_last_name',
'description' => 'Billing last name at the time of token creation. Useful for fraud forensics',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_token',
+ 'entity' => 'PaymentToken',
+ 'bao' => 'CRM_Financial_DAO_PaymentToken',
) ,
'masked_account_number' => array(
'name' => 'masked_account_number',
'description' => 'Holds the part of the card number or account details that may be retained or displayed',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_token',
+ 'entity' => 'PaymentToken',
+ 'bao' => 'CRM_Financial_DAO_PaymentToken',
) ,
'ip_address' => array(
'name' => 'ip_address',
'description' => 'IP used when creating the token. Useful for fraud forensics',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_payment_token',
+ 'entity' => 'PaymentToken',
+ 'bao' => 'CRM_Financial_DAO_PaymentToken',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Friend/Friend.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:62111759b7ebef1f78bd30c04c2086ba)
+ * (GenCodeChecksum:62f899b48f9f20def0ab8def52ff5be7)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Friend ID') ,
'description' => 'Friend ID',
'required' => true,
+ 'table_name' => 'civicrm_tell_friend',
+ 'entity' => 'Friend',
+ 'bao' => 'CRM_Friend_BAO_Friend',
) ,
'entity_table' => array(
'name' => 'entity_table',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_tell_friend',
+ 'entity' => 'Friend',
+ 'bao' => 'CRM_Friend_BAO_Friend',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Entity ID') ,
'description' => 'Foreign key to the referenced item.',
'required' => true,
+ 'table_name' => 'civicrm_tell_friend',
+ 'entity' => 'Friend',
+ 'bao' => 'CRM_Friend_BAO_Friend',
) ,
'title' => array(
'name' => 'title',
'title' => ts('Title') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_tell_friend',
+ 'entity' => 'Friend',
+ 'bao' => 'CRM_Friend_BAO_Friend',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Intro') ,
'description' => 'Introductory message to contributor or participant displayed on the Tell a Friend form.',
+ 'table_name' => 'civicrm_tell_friend',
+ 'entity' => 'Friend',
+ 'bao' => 'CRM_Friend_BAO_Friend',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Suggested Message') ,
'description' => 'Suggested message to friends, provided as default on the Tell A Friend form.',
+ 'table_name' => 'civicrm_tell_friend',
+ 'entity' => 'Friend',
+ 'bao' => 'CRM_Friend_BAO_Friend',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_tell_friend',
+ 'entity' => 'Friend',
+ 'bao' => 'CRM_Friend_BAO_Friend',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Text for Tell a Friend thank you page header and HTML title.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_tell_friend',
+ 'entity' => 'Friend',
+ 'bao' => 'CRM_Friend_BAO_Friend',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Thank You Text') ,
'description' => 'Thank you message displayed on success page.',
+ 'table_name' => 'civicrm_tell_friend',
+ 'entity' => 'Friend',
+ 'bao' => 'CRM_Friend_BAO_Friend',
'html' => array(
'type' => 'Text',
) ,
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Enabled?') ,
+ 'table_name' => 'civicrm_tell_friend',
+ 'entity' => 'Friend',
+ 'bao' => 'CRM_Friend_BAO_Friend',
'html' => array(
'type' => 'CheckBox',
) ,
*
* Generated from xml/schema/CRM/Grant/Grant.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:38ec42e92df1109ae3a0fe337852fbd5)
+ * (GenCodeChecksum:5b5a9e7de7ef9bec79b0aa543804422c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
) ,
'grant_contact_id' => array(
'name' => 'contact_id',
'where' => 'civicrm_grant.contact_id',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => array(
'type' => 'EntityRef',
'where' => 'civicrm_grant.application_received_date',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
) ,
'decision_date' => array(
'name' => 'decision_date',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
'html' => array(
'type' => 'Select Date',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
'html' => array(
'type' => 'Select Date',
) ,
'type' => CRM_Utils_Type::T_DATE,
'title' => ts('Grant Due Date') ,
'description' => 'Date on which grant report is due.',
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
'html' => array(
'type' => 'Select Date',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
'html' => array(
'type' => 'CheckBox',
) ,
'where' => 'civicrm_grant.grant_type_id',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '',
'dataPattern' => '/^\d+(\.\d{2})?$/',
'export' => true,
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
'html' => array(
'type' => 'Text',
) ,
20,
2
) ,
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '/^\d+(\.\d{2})?$/',
'export' => true,
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
'html' => array(
'type' => 'Text',
) ,
'required' => true,
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
'html' => array(
'type' => 'TextArea',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => false,
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Financial Type') ,
'description' => 'FK to Financial Type.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_grant',
+ 'entity' => 'Grant',
+ 'bao' => 'CRM_Grant_BAO_Grant',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'pseudoconstant' => array(
'table' => 'civicrm_financial_type',
*
* Generated from xml/schema/CRM/Mailing/BouncePattern.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:69f9b6d9935a5baf3e24bcd743104ce5)
+ * (GenCodeChecksum:4e496c14b703c0c46a4011924eda52e6)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Bounce Pattern ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_bounce_pattern',
+ 'entity' => 'BouncePattern',
+ 'bao' => 'CRM_Mailing_BAO_BouncePattern',
) ,
'bounce_type_id' => array(
'name' => 'bounce_type_id',
'title' => ts('Bounce Type') ,
'description' => 'Type of bounce',
'required' => true,
+ 'table_name' => 'civicrm_mailing_bounce_pattern',
+ 'entity' => 'BouncePattern',
+ 'bao' => 'CRM_Mailing_BAO_BouncePattern',
'FKClassName' => 'CRM_Mailing_DAO_BounceType',
) ,
'pattern' => array(
'description' => 'A regexp to match a message to a bounce type',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing_bounce_pattern',
+ 'entity' => 'BouncePattern',
+ 'bao' => 'CRM_Mailing_BAO_BouncePattern',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/BounceType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:39ce9c0840073f1a91f41d1eed737c5e)
+ * (GenCodeChecksum:d68c2efe2239490c33482af1416b3c80)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Bounce Type ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_bounce_type',
+ 'entity' => 'BounceType',
+ 'bao' => 'CRM_Mailing_DAO_BounceType',
) ,
'name' => array(
'name' => 'name',
'required' => true,
'maxlength' => 24,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_mailing_bounce_type',
+ 'entity' => 'BounceType',
+ 'bao' => 'CRM_Mailing_DAO_BounceType',
) ,
'description' => array(
'name' => 'description',
'description' => 'A description of this bounce type',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing_bounce_type',
+ 'entity' => 'BounceType',
+ 'bao' => 'CRM_Mailing_DAO_BounceType',
) ,
'hold_threshold' => array(
'name' => 'hold_threshold',
'title' => ts('Hold Threshold') ,
'description' => 'Number of bounces of this type required before the email address is put on bounce hold',
'required' => true,
+ 'table_name' => 'civicrm_mailing_bounce_type',
+ 'entity' => 'BounceType',
+ 'bao' => 'CRM_Mailing_DAO_BounceType',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/Component.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6ba335406e14e0ac4cd865e7f1d7178b)
+ * (GenCodeChecksum:108b795c40ec776368214ac33a4c2a52)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Component ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_component',
+ 'entity' => 'Component',
+ 'bao' => 'CRM_Mailing_BAO_Component',
) ,
'name' => array(
'name' => 'name',
'description' => 'The name of this component',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_mailing_component',
+ 'entity' => 'Component',
+ 'bao' => 'CRM_Mailing_BAO_Component',
) ,
'component_type' => array(
'name' => 'component_type',
'description' => 'Type of Component.',
'maxlength' => 12,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_mailing_component',
+ 'entity' => 'Component',
+ 'bao' => 'CRM_Mailing_BAO_Component',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Subject') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing_component',
+ 'entity' => 'Component',
+ 'bao' => 'CRM_Mailing_BAO_Component',
) ,
'body_html' => array(
'name' => 'body_html',
'description' => 'Body of the component in html format.',
'rows' => 8,
'cols' => 80,
+ 'table_name' => 'civicrm_mailing_component',
+ 'entity' => 'Component',
+ 'bao' => 'CRM_Mailing_BAO_Component',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Body of the component in text format.',
'rows' => 8,
'cols' => 80,
+ 'table_name' => 'civicrm_mailing_component',
+ 'entity' => 'Component',
+ 'bao' => 'CRM_Mailing_BAO_Component',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Mailing Component is Default?') ,
'description' => 'Is this the default component for this component_type?',
+ 'table_name' => 'civicrm_mailing_component',
+ 'entity' => 'Component',
+ 'bao' => 'CRM_Mailing_BAO_Component',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Mailing Component Is Active?') ,
'description' => 'Is this property active?',
+ 'table_name' => 'civicrm_mailing_component',
+ 'entity' => 'Component',
+ 'bao' => 'CRM_Mailing_BAO_Component',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/Mailing.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:99efa41e4294197973111d4d5ced5972)
+ * (GenCodeChecksum:ef93e557813ce88a79ae6a0e07765301)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
) ,
'domain_id' => array(
'name' => 'domain_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Domain') ,
'description' => 'Which site is this mailing for',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Header') ,
'description' => 'FK to the header component.',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'FKClassName' => 'CRM_Mailing_DAO_Component',
) ,
'footer_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Footer') ,
'description' => 'FK to the footer component.',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'FKClassName' => 'CRM_Mailing_DAO_Component',
) ,
'reply_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Reply') ,
'description' => 'FK to the auto-responder component.',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'FKClassName' => 'CRM_Mailing_DAO_Component',
) ,
'unsubscribe_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Unsubscribe') ,
'description' => 'FK to the unsubscribe component.',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'FKClassName' => 'CRM_Mailing_DAO_Component',
) ,
'resubscribe_id' => array(
'name' => 'resubscribe_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Resubscribe') ,
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
) ,
'optout_id' => array(
'name' => 'optout_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Opt Out') ,
'description' => 'FK to the opt-out component.',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'FKClassName' => 'CRM_Mailing_DAO_Component',
) ,
'name' => array(
'description' => 'Mailing Name.',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'Text',
) ,
'description' => 'differentiate between standalone mailings, A/B tests, and A/B final-winner',
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'Select',
) ,
'description' => 'From Header of mailing',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'Text',
) ,
'description' => 'From Email of mailing',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Reply-To Email of mailing',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'Text',
) ,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'default' => 'traditional',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'pseudoconstant' => array(
'callback' => 'CRM_Mailing_BAO_Mailing::getTemplateTypeNames',
)
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Template Options (JSON)') ,
'description' => 'Advanced options used by the email templating system. (JSON encoded)',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
) ,
'subject' => array(
'name' => 'subject',
'description' => 'Subject of mailing',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Body Text') ,
'description' => 'Body of the mailing in text format.',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
) ,
'body_html' => array(
'name' => 'body_html',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Body Html') ,
'description' => 'Body of the mailing in html format.',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
) ,
'url_tracking' => array(
'name' => 'url_tracking',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Url Tracking') ,
'description' => 'Should we track URL click-throughs for this mailing?',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Forward Replies') ,
'description' => 'Should we forward replies back to the author?',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Auto Responder') ,
'description' => 'Should we enable the auto-responder?',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Track Mailing?') ,
'description' => 'Should we track when recipients open/read this mailing?',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
) ,
'is_completed' => array(
'name' => 'is_completed',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Mailing Completed') ,
'description' => 'Has at least one job associated with this mailing finished?',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Message Template') ,
'description' => 'FK to the message template.',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'FKClassName' => 'CRM_Core_DAO_MessageTemplate',
) ,
'override_verp' => array(
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Override Verp') ,
'description' => 'Should we overrite VERP address in Reply-To',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Creator') ,
'description' => 'FK to Contact ID who first created this mailing',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'created_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Mailing Created Date') ,
'description' => 'Date and time this mailing was created.',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'Select Date',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Scheduled By') ,
'description' => 'FK to Contact ID who scheduled this mailing',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'scheduled_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Mailing Scheduled Date') ,
'description' => 'Date and time this mailing was scheduled.',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
) ,
'approver_id' => array(
'name' => 'approver_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Approved By') ,
'description' => 'FK to Contact ID who approved this mailing',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'approval_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Mailing Approved Date') ,
'description' => 'Date and time this mailing was approved.',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
) ,
'approval_status_id' => array(
'name' => 'approval_status_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Approval Status') ,
'description' => 'The status of this mailing. Values: none, approved, rejected',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Approval Note') ,
'description' => 'Note behind the decision.',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Mailing Archived?') ,
'description' => 'Is this mailing archived?',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'CheckBox',
) ,
'maxlength' => 40,
'size' => CRM_Utils_Type::BIG,
'default' => 'Public Pages',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Campaign') ,
'description' => 'The campaign for which this mailing has been initiated.',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'html' => array(
'type' => 'Select',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('No Duplicate emails?') ,
'description' => 'Remove duplicate emails?',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'CheckBox',
) ,
'name' => 'sms_provider_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing SMS Provider') ,
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'FKClassName' => 'CRM_SMS_DAO_Provider',
'html' => array(
'type' => 'Select',
'description' => 'Key for validating requests related to this mailing.',
'maxlength' => 16,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
) ,
'location_type_id' => array(
'name' => 'location_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Location Type') ,
'description' => 'With email_selection_method, determines which email address to use',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'FKClassName' => 'CRM_Core_DAO_LocationType',
'pseudoconstant' => array(
'table' => 'civicrm_location_type',
'maxlength' => 20,
'size' => CRM_Utils_Type::MEDIUM,
'default' => 'automatic',
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'pseudoconstant' => array(
'callback' => 'CRM_Core_SelectValues::emailSelectMethods',
)
'description' => 'Language of the content of the mailing. Useful for tokens.',
'maxlength' => 5,
'size' => CRM_Utils_Type::SIX,
+ 'table_name' => 'civicrm_mailing',
+ 'entity' => 'Mailing',
+ 'bao' => 'CRM_Mailing_BAO_Mailing',
'html' => array(
'type' => 'Select',
) ,
*
* Generated from xml/schema/CRM/Mailing/MailingAB.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9cdad4c84482433cdec1c1c1ca0dcf97)
+ * (GenCodeChecksum:34704091aa51693971aaab2d2ac7c1cf)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('MailingAB ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
) ,
'name' => array(
'name' => 'name',
'description' => 'Name of the A/B test',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
) ,
'status' => array(
'name' => 'status',
'description' => 'Status',
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
'pseudoconstant' => array(
'callback' => 'CRM_Mailing_PseudoConstant::abStatus',
)
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing ID (A)') ,
'description' => 'The first experimental mailing ("A" condition)',
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
) ,
'mailing_id_b' => array(
'name' => 'mailing_id_b',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing ID (B)') ,
'description' => 'The second experimental mailing ("B" condition)',
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
) ,
'mailing_id_c' => array(
'name' => 'mailing_id_c',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing ID (C)') ,
'description' => 'The final, general mailing (derived from A or B)',
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
) ,
'domain_id' => array(
'name' => 'domain_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Domain ID') ,
'description' => 'Which site is this mailing for',
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
) ,
'testing_criteria' => array(
'name' => 'testing_criteria',
'title' => ts('Testing Criteria') ,
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
'pseudoconstant' => array(
'callback' => 'CRM_Mailing_PseudoConstant::abTestCriteria',
)
'title' => ts('Winner Criteria') ,
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
'pseudoconstant' => array(
'callback' => 'CRM_Mailing_PseudoConstant::abWinnerCriteria',
)
'description' => 'What specific url to track',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
) ,
'declare_winning_time' => array(
'name' => 'declare_winning_time',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Declaration Time') ,
'description' => 'In how much time to declare winner',
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
) ,
'group_percentage' => array(
'name' => 'group_percentage',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Group Percentage') ,
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
) ,
'created_id' => array(
'name' => 'created_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('AB Test Created By') ,
'description' => 'FK to Contact ID',
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'created_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('AB Test Created Date') ,
'description' => 'When was this item created',
+ 'table_name' => 'civicrm_mailing_abtest',
+ 'entity' => 'MailingAB',
+ 'bao' => 'CRM_Mailing_BAO_MailingAB',
'html' => array(
'type' => 'Select Date',
) ,
*
* Generated from xml/schema/CRM/Mailing/MailingGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:da1368978867c9bcae28f74bdf76f199)
+ * (GenCodeChecksum:fa734125b5fd4a3d8d916fc0cfdfbba4)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Group ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_group',
+ 'entity' => 'MailingGroup',
+ 'bao' => 'CRM_Mailing_DAO_MailingGroup',
) ,
'mailing_id' => array(
'name' => 'mailing_id',
'title' => ts('Mailing') ,
'description' => 'The ID of a previous mailing to include/exclude recipients.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_group',
+ 'entity' => 'MailingGroup',
+ 'bao' => 'CRM_Mailing_DAO_MailingGroup',
'FKClassName' => 'CRM_Mailing_DAO_Mailing',
) ,
'group_type' => array(
'description' => 'Are the members of the group included or excluded?.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_mailing_group',
+ 'entity' => 'MailingGroup',
+ 'bao' => 'CRM_Mailing_DAO_MailingGroup',
'html' => array(
'type' => 'Select',
) ,
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_mailing_group',
+ 'entity' => 'MailingGroup',
+ 'bao' => 'CRM_Mailing_DAO_MailingGroup',
'pseudoconstant' => array(
'callback' => 'CRM_Mailing_BAO_Mailing::mailingGroupEntityTables',
)
'title' => ts('Mailing Group Entity') ,
'description' => 'Foreign key to the referenced item.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_group',
+ 'entity' => 'MailingGroup',
+ 'bao' => 'CRM_Mailing_DAO_MailingGroup',
) ,
'search_id' => array(
'name' => 'search_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Group Search') ,
'description' => 'The filtering search. custom search id or -1 for civicrm api search',
+ 'table_name' => 'civicrm_mailing_group',
+ 'entity' => 'MailingGroup',
+ 'bao' => 'CRM_Mailing_DAO_MailingGroup',
) ,
'search_args' => array(
'name' => 'search_args',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Mailing Group Search Arguments') ,
'description' => 'The arguments to be sent to the search function',
+ 'table_name' => 'civicrm_mailing_group',
+ 'entity' => 'MailingGroup',
+ 'bao' => 'CRM_Mailing_DAO_MailingGroup',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/MailingJob.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:df7f5d74b6be9d995c7990e4315bfe40)
+ * (GenCodeChecksum:0d980fe5408cdcfa95a640da20a9f2f2)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Job ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_job',
+ 'entity' => 'MailingJob',
+ 'bao' => 'CRM_Mailing_BAO_MailingJob',
) ,
'mailing_id' => array(
'name' => 'mailing_id',
'title' => ts('Mailing') ,
'description' => 'The ID of the mailing this Job will send.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_job',
+ 'entity' => 'MailingJob',
+ 'bao' => 'CRM_Mailing_BAO_MailingJob',
'FKClassName' => 'CRM_Mailing_DAO_Mailing',
) ,
'scheduled_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Mailing Scheduled Date') ,
'description' => 'date on which this job was scheduled.',
+ 'table_name' => 'civicrm_mailing_job',
+ 'entity' => 'MailingJob',
+ 'bao' => 'CRM_Mailing_BAO_MailingJob',
) ,
'start_date' => array(
'name' => 'start_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Mailing Job Start Date') ,
'description' => 'date on which this job was started.',
+ 'table_name' => 'civicrm_mailing_job',
+ 'entity' => 'MailingJob',
+ 'bao' => 'CRM_Mailing_BAO_MailingJob',
) ,
'end_date' => array(
'name' => 'end_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Mailing Job End Date') ,
'description' => 'date on which this job ended.',
+ 'table_name' => 'civicrm_mailing_job',
+ 'entity' => 'MailingJob',
+ 'bao' => 'CRM_Mailing_BAO_MailingJob',
) ,
'status' => array(
'name' => 'status',
'description' => 'The state of this job',
'maxlength' => 12,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_mailing_job',
+ 'entity' => 'MailingJob',
+ 'bao' => 'CRM_Mailing_BAO_MailingJob',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Mailing Job Is Test?') ,
'description' => 'Is this job for a test mail?',
+ 'table_name' => 'civicrm_mailing_job',
+ 'entity' => 'MailingJob',
+ 'bao' => 'CRM_Mailing_BAO_MailingJob',
) ,
'job_type' => array(
'name' => 'job_type',
'description' => 'Type of mailling job: null | child ',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing_job',
+ 'entity' => 'MailingJob',
+ 'bao' => 'CRM_Mailing_BAO_MailingJob',
) ,
'parent_id' => array(
'name' => 'parent_id',
'title' => ts('Mailing Job Parent') ,
'description' => 'Parent job id',
'default' => 'NULL',
+ 'table_name' => 'civicrm_mailing_job',
+ 'entity' => 'MailingJob',
+ 'bao' => 'CRM_Mailing_BAO_MailingJob',
'FKClassName' => 'CRM_Mailing_DAO_MailingJob',
) ,
'job_offset' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Job Offset') ,
'description' => 'Offset of the child job',
+ 'table_name' => 'civicrm_mailing_job',
+ 'entity' => 'MailingJob',
+ 'bao' => 'CRM_Mailing_BAO_MailingJob',
) ,
'job_limit' => array(
'name' => 'job_limit',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Job Limit') ,
'description' => 'Queue size limit for each child job',
+ 'table_name' => 'civicrm_mailing_job',
+ 'entity' => 'MailingJob',
+ 'bao' => 'CRM_Mailing_BAO_MailingJob',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/Recipients.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f29121ef2b9a728e3af9bc9ae45e949e)
+ * (GenCodeChecksum:7eb576d30bbc948ab5b632294a081cf8)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Recipients ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_recipients',
+ 'entity' => 'Recipients',
+ 'bao' => 'CRM_Mailing_BAO_Recipients',
) ,
'mailing_id' => array(
'name' => 'mailing_id',
'title' => ts('Mailing') ,
'description' => 'The ID of the mailing this Job will send.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_recipients',
+ 'entity' => 'Recipients',
+ 'bao' => 'CRM_Mailing_BAO_Recipients',
'FKClassName' => 'CRM_Mailing_DAO_Mailing',
) ,
'contact_id' => array(
'title' => ts('Mailing Recipient') ,
'description' => 'FK to Contact',
'required' => true,
+ 'table_name' => 'civicrm_mailing_recipients',
+ 'entity' => 'Recipients',
+ 'bao' => 'CRM_Mailing_BAO_Recipients',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'email_id' => array(
'title' => ts('Recipient Email') ,
'description' => 'FK to Email',
'default' => 'NULL',
+ 'table_name' => 'civicrm_mailing_recipients',
+ 'entity' => 'Recipients',
+ 'bao' => 'CRM_Mailing_BAO_Recipients',
'FKClassName' => 'CRM_Core_DAO_Email',
) ,
'phone_id' => array(
'title' => ts('Recipient Phone') ,
'description' => 'FK to Phone',
'default' => 'NULL',
+ 'table_name' => 'civicrm_mailing_recipients',
+ 'entity' => 'Recipients',
+ 'bao' => 'CRM_Mailing_BAO_Recipients',
'FKClassName' => 'CRM_Core_DAO_Phone',
) ,
);
*
* Generated from xml/schema/CRM/Mailing/Spool.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:79a17f549e804c08e52dd5bccc546c3c)
+ * (GenCodeChecksum:8d44e660311ef22bdbe80d66a87485bd)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Spool ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_spool',
+ 'entity' => 'Spool',
+ 'bao' => 'CRM_Mailing_BAO_Spool',
) ,
'job_id' => array(
'name' => 'job_id',
'title' => ts('Mailing Job') ,
'description' => 'The ID of the Job .',
'required' => true,
+ 'table_name' => 'civicrm_mailing_spool',
+ 'entity' => 'Spool',
+ 'bao' => 'CRM_Mailing_BAO_Spool',
'FKClassName' => 'CRM_Mailing_DAO_MailingJob',
) ,
'recipient_email' => array(
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Recipient Email') ,
'description' => 'The email of the receipients this mail is to be sent.',
+ 'table_name' => 'civicrm_mailing_spool',
+ 'entity' => 'Spool',
+ 'bao' => 'CRM_Mailing_BAO_Spool',
) ,
'headers' => array(
'name' => 'headers',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Headers') ,
'description' => 'The header information of this mailing .',
+ 'table_name' => 'civicrm_mailing_spool',
+ 'entity' => 'Spool',
+ 'bao' => 'CRM_Mailing_BAO_Spool',
) ,
'body' => array(
'name' => 'body',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Body') ,
'description' => 'The body of this mailing.',
+ 'table_name' => 'civicrm_mailing_spool',
+ 'entity' => 'Spool',
+ 'bao' => 'CRM_Mailing_BAO_Spool',
) ,
'added_at' => array(
'name' => 'added_at',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Added') ,
'description' => 'date on which this job was added.',
+ 'table_name' => 'civicrm_mailing_spool',
+ 'entity' => 'Spool',
+ 'bao' => 'CRM_Mailing_BAO_Spool',
) ,
'removed_at' => array(
'name' => 'removed_at',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Removed') ,
'description' => 'date on which this job was removed.',
+ 'table_name' => 'civicrm_mailing_spool',
+ 'entity' => 'Spool',
+ 'bao' => 'CRM_Mailing_BAO_Spool',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/TrackableURL.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3346d0c06632d01a12bc81b0f4313915)
+ * (GenCodeChecksum:a9512c3a642cc3d3f5333f6c92aa430f)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Trackable URL ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_trackable_url',
+ 'entity' => 'TrackableURL',
+ 'bao' => 'CRM_Mailing_BAO_TrackableURL',
) ,
'url' => array(
'name' => 'url',
'title' => ts('Url') ,
'description' => 'The URL to be tracked.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_trackable_url',
+ 'entity' => 'TrackableURL',
+ 'bao' => 'CRM_Mailing_BAO_TrackableURL',
) ,
'mailing_id' => array(
'name' => 'mailing_id',
'title' => ts('Mailing') ,
'description' => 'FK to the mailing',
'required' => true,
+ 'table_name' => 'civicrm_mailing_trackable_url',
+ 'entity' => 'TrackableURL',
+ 'bao' => 'CRM_Mailing_BAO_TrackableURL',
'FKClassName' => 'CRM_Mailing_DAO_Mailing',
) ,
);
*
* Generated from xml/schema/CRM/Mailing/Event/Bounce.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3ab35b407e4951a75170bca8cd86a619)
+ * (GenCodeChecksum:190aac8f61192fc1b2ff3dd7b3f3214a)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Bounce ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_bounce',
+ 'entity' => 'Bounce',
+ 'bao' => 'CRM_Mailing_Event_BAO_Bounce',
) ,
'event_queue_id' => array(
'name' => 'event_queue_id',
'title' => ts('Event Queue') ,
'description' => 'FK to EventQueue',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_bounce',
+ 'entity' => 'Bounce',
+ 'bao' => 'CRM_Mailing_Event_BAO_Bounce',
'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
) ,
'bounce_type_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Bounce Type') ,
'description' => 'What type of bounce was it?',
+ 'table_name' => 'civicrm_mailing_event_bounce',
+ 'entity' => 'Bounce',
+ 'bao' => 'CRM_Mailing_Event_BAO_Bounce',
'html' => array(
'type' => 'Select',
) ,
'description' => 'The reason the email bounced.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing_event_bounce',
+ 'entity' => 'Bounce',
+ 'bao' => 'CRM_Mailing_Event_BAO_Bounce',
) ,
'time_stamp' => array(
'name' => 'time_stamp',
'title' => ts('Timestamp') ,
'description' => 'When this bounce event occurred.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_bounce',
+ 'entity' => 'Bounce',
+ 'bao' => 'CRM_Mailing_Event_BAO_Bounce',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/Event/Confirm.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c6e6b02a3a8b126eaee7bf4b58b8261e)
+ * (GenCodeChecksum:2f2090543c189e82f75a64b171646b0a)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Confirmation ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_confirm',
+ 'entity' => 'Confirm',
+ 'bao' => 'CRM_Mailing_Event_BAO_Confirm',
) ,
'event_subscribe_id' => array(
'name' => 'event_subscribe_id',
'title' => ts('Mailing Subscribe ID') ,
'description' => 'FK to civicrm_mailing_event_subscribe',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_confirm',
+ 'entity' => 'Confirm',
+ 'bao' => 'CRM_Mailing_Event_BAO_Confirm',
'FKClassName' => 'CRM_Mailing_Event_DAO_Subscribe',
) ,
'time_stamp' => array(
'title' => ts('Confirm Timestamp') ,
'description' => 'When this confirmation event occurred.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_confirm',
+ 'entity' => 'Confirm',
+ 'bao' => 'CRM_Mailing_Event_BAO_Confirm',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/Event/Delivered.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6a51b03a333ce5ccbd3533cb4f6bf8b9)
+ * (GenCodeChecksum:dfd599fb520f1b5a626a2821aaa1066f)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Delivered ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_delivered',
+ 'entity' => 'Delivered',
+ 'bao' => 'CRM_Mailing_Event_BAO_Delivered',
) ,
'event_queue_id' => array(
'name' => 'event_queue_id',
'title' => ts('Event Queue') ,
'description' => 'FK to EventQueue',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_delivered',
+ 'entity' => 'Delivered',
+ 'bao' => 'CRM_Mailing_Event_BAO_Delivered',
'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
) ,
'time_stamp' => array(
'title' => ts('Timestamp') ,
'description' => 'When this delivery event occurred.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_delivered',
+ 'entity' => 'Delivered',
+ 'bao' => 'CRM_Mailing_Event_BAO_Delivered',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/Event/Forward.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:922aee5401dd28090fba60a303710e1d)
+ * (GenCodeChecksum:436109f4cf7ea2aef0c5c4b5d094bfd3)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Forward ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_forward',
+ 'entity' => 'Forward',
+ 'bao' => 'CRM_Mailing_Event_BAO_Forward',
) ,
'event_queue_id' => array(
'name' => 'event_queue_id',
'title' => ts('Mailing Event Queue') ,
'description' => 'FK to EventQueue',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_forward',
+ 'entity' => 'Forward',
+ 'bao' => 'CRM_Mailing_Event_BAO_Forward',
'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
) ,
'dest_queue_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Destination Queue') ,
'description' => 'FK to EventQueue for destination',
+ 'table_name' => 'civicrm_mailing_event_forward',
+ 'entity' => 'Forward',
+ 'bao' => 'CRM_Mailing_Event_BAO_Forward',
'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
) ,
'time_stamp' => array(
'title' => ts('Timestamp') ,
'description' => 'When this forward event occurred.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_forward',
+ 'entity' => 'Forward',
+ 'bao' => 'CRM_Mailing_Event_BAO_Forward',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/Event/Opened.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e874762899f7abc3c57b64d13585a9c4)
+ * (GenCodeChecksum:f198eefb2b8122c48c0ad7fd0705ffcf)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Opened ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_opened',
+ 'entity' => 'Opened',
+ 'bao' => 'CRM_Mailing_Event_BAO_Opened',
) ,
'event_queue_id' => array(
'name' => 'event_queue_id',
'title' => ts('Event Queue') ,
'description' => 'FK to EventQueue',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_opened',
+ 'entity' => 'Opened',
+ 'bao' => 'CRM_Mailing_Event_BAO_Opened',
'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
) ,
'time_stamp' => array(
'title' => ts('Timestamp') ,
'description' => 'When this open event occurred.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_opened',
+ 'entity' => 'Opened',
+ 'bao' => 'CRM_Mailing_Event_BAO_Opened',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/Event/Queue.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b774f21eb9f8b5977e3fa07c4bcfe299)
+ * (GenCodeChecksum:fd33cf9185f35b5abc7f906115e5fe91)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Event Queue ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_queue',
+ 'entity' => 'Queue',
+ 'bao' => 'CRM_Mailing_Event_BAO_Queue',
) ,
'job_id' => array(
'name' => 'job_id',
'title' => ts('Job ID') ,
'description' => 'FK to Job',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_queue',
+ 'entity' => 'Queue',
+ 'bao' => 'CRM_Mailing_Event_BAO_Queue',
'FKClassName' => 'CRM_Mailing_DAO_MailingJob',
) ,
'email_id' => array(
'title' => ts('Email ID') ,
'description' => 'FK to Email',
'default' => 'NULL',
+ 'table_name' => 'civicrm_mailing_event_queue',
+ 'entity' => 'Queue',
+ 'bao' => 'CRM_Mailing_Event_BAO_Queue',
'FKClassName' => 'CRM_Core_DAO_Email',
) ,
'contact_id' => array(
'title' => ts('Contact ID') ,
'description' => 'FK to Contact',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_queue',
+ 'entity' => 'Queue',
+ 'bao' => 'CRM_Mailing_Event_BAO_Queue',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'hash' => array(
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing_event_queue',
+ 'entity' => 'Queue',
+ 'bao' => 'CRM_Mailing_Event_BAO_Queue',
) ,
'phone_id' => array(
'name' => 'phone_id',
'title' => ts('Phone ID') ,
'description' => 'FK to Phone',
'default' => 'NULL',
+ 'table_name' => 'civicrm_mailing_event_queue',
+ 'entity' => 'Queue',
+ 'bao' => 'CRM_Mailing_Event_BAO_Queue',
'FKClassName' => 'CRM_Core_DAO_Phone',
) ,
);
*
* Generated from xml/schema/CRM/Mailing/Event/Reply.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a72b7c44389fe297b7f1a187a37ea42a)
+ * (GenCodeChecksum:64d95bdb81a8c4a7abfa045510d72396)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Reply ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_reply',
+ 'entity' => 'Reply',
+ 'bao' => 'CRM_Mailing_Event_BAO_Reply',
) ,
'event_queue_id' => array(
'name' => 'event_queue_id',
'title' => ts('Event Queue') ,
'description' => 'FK to EventQueue',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_reply',
+ 'entity' => 'Reply',
+ 'bao' => 'CRM_Mailing_Event_BAO_Reply',
'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
) ,
'time_stamp' => array(
'title' => ts('Reply Timestamp') ,
'description' => 'When this reply event occurred.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_reply',
+ 'entity' => 'Reply',
+ 'bao' => 'CRM_Mailing_Event_BAO_Reply',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/Event/Subscribe.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2f33a8fdacd5e6e0a8858e73a536f3fc)
+ * (GenCodeChecksum:24bb2ee64dae74379cb2a1bbc038bdac)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Mailing Subscribe ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_subscribe',
+ 'entity' => 'Subscribe',
+ 'bao' => 'CRM_Mailing_Event_BAO_Subscribe',
) ,
'group_id' => array(
'name' => 'group_id',
'title' => ts('Mailing Subscribe Group') ,
'description' => 'FK to Group',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_subscribe',
+ 'entity' => 'Subscribe',
+ 'bao' => 'CRM_Mailing_Event_BAO_Subscribe',
'FKClassName' => 'CRM_Contact_DAO_Group',
'html' => array(
'type' => 'Select',
'title' => ts('Mailing Subscribe Contact') ,
'description' => 'FK to Contact',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_subscribe',
+ 'entity' => 'Subscribe',
+ 'bao' => 'CRM_Mailing_Event_BAO_Subscribe',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'hash' => array(
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_mailing_event_subscribe',
+ 'entity' => 'Subscribe',
+ 'bao' => 'CRM_Mailing_Event_BAO_Subscribe',
) ,
'time_stamp' => array(
'name' => 'time_stamp',
'title' => ts('Mailing Subscribe Timestamp') ,
'description' => 'When this subscription event occurred.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_subscribe',
+ 'entity' => 'Subscribe',
+ 'bao' => 'CRM_Mailing_Event_BAO_Subscribe',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/Event/TrackableURLOpen.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:20c6eeec7cf50407bcfec31a21b8b352)
+ * (GenCodeChecksum:52362dedcb8c728132a0968cefe06b87)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Trackable URL Open ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_trackable_url_open',
+ 'entity' => 'TrackableURLOpen',
+ 'bao' => 'CRM_Mailing_Event_BAO_TrackableURLOpen',
) ,
'event_queue_id' => array(
'name' => 'event_queue_id',
'title' => ts('Event Queue') ,
'description' => 'FK to EventQueue',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_trackable_url_open',
+ 'entity' => 'TrackableURLOpen',
+ 'bao' => 'CRM_Mailing_Event_BAO_TrackableURLOpen',
'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
) ,
'trackable_url_id' => array(
'title' => ts('Trackable Url') ,
'description' => 'FK to TrackableURL',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_trackable_url_open',
+ 'entity' => 'TrackableURLOpen',
+ 'bao' => 'CRM_Mailing_Event_BAO_TrackableURLOpen',
'FKClassName' => 'CRM_Mailing_DAO_TrackableURL',
) ,
'time_stamp' => array(
'title' => ts('Timestamp') ,
'description' => 'When this trackable URL open occurred.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_trackable_url_open',
+ 'entity' => 'TrackableURLOpen',
+ 'bao' => 'CRM_Mailing_Event_BAO_TrackableURLOpen',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Mailing/Event/Unsubscribe.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6494a1c74d3259aaec6b09e69b4c42ae)
+ * (GenCodeChecksum:e5970acf41727e81f0fa1a7ca2044305)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Unsubscribe ID') ,
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_unsubscribe',
+ 'entity' => 'Unsubscribe',
+ 'bao' => 'CRM_Mailing_Event_BAO_Unsubscribe',
) ,
'event_queue_id' => array(
'name' => 'event_queue_id',
'title' => ts('Mailing Event Queue') ,
'description' => 'FK to EventQueue',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_unsubscribe',
+ 'entity' => 'Unsubscribe',
+ 'bao' => 'CRM_Mailing_Event_BAO_Unsubscribe',
'FKClassName' => 'CRM_Mailing_Event_DAO_Queue',
) ,
'org_unsubscribe' => array(
'title' => ts('Unsubscribe is for Organization?') ,
'description' => 'Unsubscribe at org- or group-level',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_unsubscribe',
+ 'entity' => 'Unsubscribe',
+ 'bao' => 'CRM_Mailing_Event_BAO_Unsubscribe',
) ,
'time_stamp' => array(
'name' => 'time_stamp',
'title' => ts('Unsubscribe Timestamp') ,
'description' => 'When this delivery event occurred.',
'required' => true,
+ 'table_name' => 'civicrm_mailing_event_unsubscribe',
+ 'entity' => 'Unsubscribe',
+ 'bao' => 'CRM_Mailing_Event_BAO_Unsubscribe',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Member/Membership.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c9823a62881681e2126d92c19e85876f)
+ * (GenCodeChecksum:794bd904da5edcacc20dd5784fcdcf0c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'headerPattern' => '/^(m(embership\s)?id)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
) ,
'membership_contact_id' => array(
'name' => 'contact_id',
'headerPattern' => '/contact(.?id)?/i',
'dataPattern' => '/^\d+$/',
'export' => true,
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => array(
'type' => 'EntityRef',
'headerPattern' => '/^(m(embership\s)?type)$/i',
'dataPattern' => '',
'export' => false,
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'FKClassName' => 'CRM_Member_DAO_MembershipType',
'html' => array(
'type' => 'Select',
'headerPattern' => '/^join|(j(oin\s)?date)$/i',
'dataPattern' => '/\d{4}-?\d{2}-?\d{2}/',
'export' => true,
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'html' => array(
'type' => 'Select Date',
+ 'format' => 'activityDate',
) ,
) ,
'membership_start_date' => array(
'headerPattern' => '/(member(ship)?.)?start(s)?(.date$)?/i',
'dataPattern' => '/\d{4}-?\d{2}-?\d{2}/',
'export' => true,
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'html' => array(
'type' => 'Select Date',
+ 'format' => 'activityDate',
) ,
) ,
'membership_end_date' => array(
'headerPattern' => '/(member(ship)?.)?end(s)?(.date$)?/i',
'dataPattern' => '/\d{4}-?\d{2}-?\d{2}/',
'export' => true,
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'html' => array(
'type' => 'Select Date',
+ 'format' => 'activityDate',
) ,
) ,
'membership_source' => array(
'headerPattern' => '/^(member(ship?))?source$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/(member(ship|).)?(status)$/i',
'dataPattern' => '',
'export' => false,
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'FKClassName' => 'CRM_Member_DAO_MembershipStatus',
'html' => array(
'type' => 'Select',
'headerPattern' => '/override$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'html' => array(
'type' => 'CheckBox',
) ,
'where' => 'civicrm_membership.owner_membership_id',
'headerPattern' => '',
'dataPattern' => '',
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'FKClassName' => 'CRM_Member_DAO_Membership',
) ,
'max_related' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Max Related') ,
'description' => 'Maximum number of related memberships (membership_type override).',
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/(is.)?test(.member(ship)?)?/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '/(is.)?(pay(.)?later)$/i',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Membership Recurring Contribution') ,
'description' => 'Conditional foreign key to civicrm_contribution_recur id. Each membership in connection with a recurring contribution carries a foreign key to the recurring contribution record. This assumes we can track these processor initiated events.',
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'FKClassName' => 'CRM_Contribute_DAO_ContributionRecur',
) ,
'member_campaign_id' => array(
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_membership',
+ 'entity' => 'Membership',
+ 'bao' => 'CRM_Member_BAO_Membership',
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'html' => array(
'type' => 'Select',
*
* Generated from xml/schema/CRM/Member/MembershipBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:23f10318bfaa3e50862d8ad8853ce662)
+ * (GenCodeChecksum:59de2666c2c92dc873bbe7dc303eeca8)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Membership Block ID') ,
'description' => 'Membership Id',
'required' => true,
+ 'table_name' => 'civicrm_membership_block',
+ 'entity' => 'MembershipBlock',
+ 'bao' => 'CRM_Member_BAO_MembershipBlock',
) ,
'entity_table' => array(
'name' => 'entity_table',
'description' => 'Name for Membership Status',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_membership_block',
+ 'entity' => 'MembershipBlock',
+ 'bao' => 'CRM_Member_BAO_MembershipBlock',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Membership Block Entity ID') ,
'description' => 'FK to civicrm_contribution_page.id',
'required' => true,
+ 'table_name' => 'civicrm_membership_block',
+ 'entity' => 'MembershipBlock',
+ 'bao' => 'CRM_Member_BAO_MembershipBlock',
'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
) ,
'membership_types' => array(
'description' => 'Membership types to be exposed by this block',
'maxlength' => 1024,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_membership_block',
+ 'entity' => 'MembershipBlock',
+ 'bao' => 'CRM_Member_BAO_MembershipBlock',
) ,
'membership_type_default' => array(
'name' => 'membership_type_default',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Membership Block Default Type') ,
'description' => 'Optional foreign key to membership_type',
+ 'table_name' => 'civicrm_membership_block',
+ 'entity' => 'MembershipBlock',
+ 'bao' => 'CRM_Member_BAO_MembershipBlock',
'FKClassName' => 'CRM_Member_DAO_MembershipType',
) ,
'display_min_fee' => array(
'title' => ts('Membership Block Display Minimum Fee') ,
'description' => 'Display minimum membership fee',
'default' => '1',
+ 'table_name' => 'civicrm_membership_block',
+ 'entity' => 'MembershipBlock',
+ 'bao' => 'CRM_Member_BAO_MembershipBlock',
) ,
'is_separate_payment' => array(
'name' => 'is_separate_payment',
'title' => ts('Membership Block Is Separate Payment') ,
'description' => 'Should membership transactions be processed separately',
'default' => '1',
+ 'table_name' => 'civicrm_membership_block',
+ 'entity' => 'MembershipBlock',
+ 'bao' => 'CRM_Member_BAO_MembershipBlock',
) ,
'new_title' => array(
'name' => 'new_title',
'description' => 'Title to display at top of block',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_membership_block',
+ 'entity' => 'MembershipBlock',
+ 'bao' => 'CRM_Member_BAO_MembershipBlock',
) ,
'new_text' => array(
'name' => 'new_text',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Membership Block New Text') ,
'description' => 'Text to display below title',
+ 'table_name' => 'civicrm_membership_block',
+ 'entity' => 'MembershipBlock',
+ 'bao' => 'CRM_Member_BAO_MembershipBlock',
) ,
'renewal_title' => array(
'name' => 'renewal_title',
'description' => 'Title for renewal',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_membership_block',
+ 'entity' => 'MembershipBlock',
+ 'bao' => 'CRM_Member_BAO_MembershipBlock',
) ,
'renewal_text' => array(
'name' => 'renewal_text',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Membership Block Renewal Text') ,
'description' => 'Text to display for member renewal',
+ 'table_name' => 'civicrm_membership_block',
+ 'entity' => 'MembershipBlock',
+ 'bao' => 'CRM_Member_BAO_MembershipBlock',
) ,
'is_required' => array(
'name' => 'is_required',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Required') ,
'description' => 'Is membership sign up optional',
+ 'table_name' => 'civicrm_membership_block',
+ 'entity' => 'MembershipBlock',
+ 'bao' => 'CRM_Member_BAO_MembershipBlock',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Is Active') ,
'description' => 'Is this membership_block enabled',
'default' => '1',
+ 'table_name' => 'civicrm_membership_block',
+ 'entity' => 'MembershipBlock',
+ 'bao' => 'CRM_Member_BAO_MembershipBlock',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Member/MembershipLog.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0c51f7b8ad368df053d1345e0a20d33a)
+ * (GenCodeChecksum:aa569c9888f34d402e688ef7d6fdb88c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Membership Log ID') ,
'required' => true,
+ 'table_name' => 'civicrm_membership_log',
+ 'entity' => 'MembershipLog',
+ 'bao' => 'CRM_Member_BAO_MembershipLog',
) ,
'membership_id' => array(
'name' => 'membership_id',
'title' => ts('Membership ID') ,
'description' => 'FK to Membership table',
'required' => true,
+ 'table_name' => 'civicrm_membership_log',
+ 'entity' => 'MembershipLog',
+ 'bao' => 'CRM_Member_BAO_MembershipLog',
'FKClassName' => 'CRM_Member_DAO_Membership',
) ,
'status_id' => array(
'title' => ts('Membership Status') ,
'description' => 'New status assigned to membership by this action. FK to Membership Status',
'required' => true,
+ 'table_name' => 'civicrm_membership_log',
+ 'entity' => 'MembershipLog',
+ 'bao' => 'CRM_Member_BAO_MembershipLog',
'FKClassName' => 'CRM_Member_DAO_MembershipStatus',
) ,
'start_date' => array(
'type' => CRM_Utils_Type::T_DATE,
'title' => ts('Membership Log Start Date') ,
'description' => 'New membership period start date',
+ 'table_name' => 'civicrm_membership_log',
+ 'entity' => 'MembershipLog',
+ 'bao' => 'CRM_Member_BAO_MembershipLog',
) ,
'end_date' => array(
'name' => 'end_date',
'type' => CRM_Utils_Type::T_DATE,
'title' => ts('Membership Log End Date') ,
'description' => 'New membership period expiration date.',
+ 'table_name' => 'civicrm_membership_log',
+ 'entity' => 'MembershipLog',
+ 'bao' => 'CRM_Member_BAO_MembershipLog',
) ,
'modified_id' => array(
'name' => 'modified_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Membership Log modified By') ,
'description' => 'FK to Contact ID of person under whose credentials this data modification was made.',
+ 'table_name' => 'civicrm_membership_log',
+ 'entity' => 'MembershipLog',
+ 'bao' => 'CRM_Member_BAO_MembershipLog',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'modified_date' => array(
'type' => CRM_Utils_Type::T_DATE,
'title' => ts('Membership Change Date') ,
'description' => 'Date this membership modification action was logged.',
+ 'table_name' => 'civicrm_membership_log',
+ 'entity' => 'MembershipLog',
+ 'bao' => 'CRM_Member_BAO_MembershipLog',
) ,
'membership_type_id' => array(
'name' => 'membership_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Membership Type ID') ,
'description' => 'FK to Membership Type.',
+ 'table_name' => 'civicrm_membership_log',
+ 'entity' => 'MembershipLog',
+ 'bao' => 'CRM_Member_BAO_MembershipLog',
'FKClassName' => 'CRM_Member_DAO_MembershipType',
) ,
'max_related' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Maximum Related Memberships') ,
'description' => 'Maximum number of related memberships.',
+ 'table_name' => 'civicrm_membership_log',
+ 'entity' => 'MembershipLog',
+ 'bao' => 'CRM_Member_BAO_MembershipLog',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Member/MembershipPayment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:78253d51d8f0904aabc8a4f259c09704)
+ * (GenCodeChecksum:64b3b70a3f88a5a11a8a75570911be7f)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Membership Payment ID') ,
'required' => true,
+ 'table_name' => 'civicrm_membership_payment',
+ 'entity' => 'MembershipPayment',
+ 'bao' => 'CRM_Member_BAO_MembershipPayment',
) ,
'membership_id' => array(
'name' => 'membership_id',
'title' => ts('Membership') ,
'description' => 'FK to Membership table',
'required' => true,
+ 'table_name' => 'civicrm_membership_payment',
+ 'entity' => 'MembershipPayment',
+ 'bao' => 'CRM_Member_BAO_MembershipPayment',
'FKClassName' => 'CRM_Member_DAO_Membership',
) ,
'contribution_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contribution') ,
'description' => 'FK to contribution table.',
+ 'table_name' => 'civicrm_membership_payment',
+ 'entity' => 'MembershipPayment',
+ 'bao' => 'CRM_Member_BAO_MembershipPayment',
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
) ,
);
*
* Generated from xml/schema/CRM/Member/MembershipStatus.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:386d3a47b6acc84c75655d3682cc1403)
+ * (GenCodeChecksum:9c8aaaf7ade5ec9ba8d46131fc335d0b)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Membership Status ID') ,
'description' => 'Membership Id',
'required' => true,
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
) ,
'membership_status' => array(
'name' => 'name',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
) ,
'label' => array(
'name' => 'label',
'description' => 'Label for Membership Status',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
) ,
'start_event' => array(
'name' => 'start_event',
'description' => 'Event when this status starts.',
'maxlength' => 12,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
'html' => array(
'type' => 'Select',
) ,
'description' => 'Unit used for adjusting from start_event.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Start Event Adjust Interval') ,
'description' => 'Status range begins this many units from start_event.',
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
) ,
'end_event' => array(
'name' => 'end_event',
'description' => 'Event after which this status ends.',
'maxlength' => 12,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
'html' => array(
'type' => 'Select',
) ,
'description' => 'Unit used for adjusting from the ending event.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('End Event Adjust Interval') ,
'description' => 'Status range ends this many units from end_event.',
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
) ,
'is_current_member' => array(
'name' => 'is_current_member',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Current Membership?') ,
'description' => 'Does this status aggregate to current members (e.g. New, Renewed, Grace might all be TRUE... while Unrenewed, Lapsed, Inactive would be FALSE).',
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
) ,
'is_admin' => array(
'name' => 'is_admin',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Admin Assigned Only?') ,
'description' => 'Is this status for admin/manual assignment only.',
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
) ,
'weight' => array(
'name' => 'weight',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Order') ,
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
) ,
'is_default' => array(
'name' => 'is_default',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Default Status?') ,
'description' => 'Assign this status to a membership record if no other status match is found.',
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Is Active') ,
'description' => 'Is this membership_status enabled.',
'default' => '1',
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Reserved') ,
'description' => 'Is this membership_status reserved.',
+ 'table_name' => 'civicrm_membership_status',
+ 'entity' => 'MembershipStatus',
+ 'bao' => 'CRM_Member_BAO_MembershipStatus',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Member/MembershipType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cf8d2289660af72910adad2eb28bc85b)
+ * (GenCodeChecksum:a53e1a6c010fd3c018de37aaab2b5d70)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Membership Type ID') ,
'description' => 'Membership Id',
'required' => true,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
) ,
'domain_id' => array(
'name' => 'domain_id',
'title' => ts('Membership Type Domain') ,
'description' => 'Which Domain is this match entry for',
'required' => true,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
) ,
'description' => array(
'name' => 'description',
'description' => 'Description of Membership Type',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
'html' => array(
'type' => 'TextArea',
) ,
'title' => ts('Membership Type Organization') ,
'description' => 'Owner organization for this membership type. FK to Contact ID',
'required' => true,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'financial_type_id' => array(
'title' => ts('Membership Financial Type') ,
'description' => 'If membership is paid by a contribution - what financial type should be used. FK to civicrm_financial_type.id',
'required' => true,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'pseudoconstant' => array(
'table' => 'civicrm_financial_type',
20,
2
) ,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
) ,
'duration_unit' => array(
'name' => 'duration_unit',
'description' => 'Unit in which membership period is expressed.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Membership Type Duration Interval') ,
'description' => 'Number of duration units in membership period (e.g. 1 year, 12 months).',
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
) ,
'period_type' => array(
'name' => 'period_type',
'description' => 'Rolling membership period starts on signup date. Fixed membership periods start on fixed_period_start_day.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
'pseudoconstant' => array(
'callback' => 'CRM_Core_SelectValues::periodType',
)
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Fixed Period Start Day') ,
'description' => 'For fixed period memberships, month and day (mmdd) on which subscription/membership will start. Period start is back-dated unless after rollover day.',
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
) ,
'fixed_period_rollover_day' => array(
'name' => 'fixed_period_rollover_day',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Fixed Period Rollover Day') ,
'description' => 'For fixed period memberships, signups after this day (mmdd) rollover to next period.',
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
) ,
'relationship_type_id' => array(
'name' => 'relationship_type_id',
'description' => 'FK to Relationship Type ID',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
) ,
'relationship_direction' => array(
'name' => 'relationship_direction',
'title' => ts('Relationship Direction') ,
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
) ,
'max_related' => array(
'name' => 'max_related',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Max Related Members for Type') ,
'description' => 'Maximum number of related memberships.',
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
) ,
'visibility' => array(
'name' => 'visibility',
'title' => ts('Visible') ,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
'html' => array(
'type' => 'Select',
) ,
'name' => 'weight',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Order') ,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
) ,
'receipt_text_signup' => array(
'name' => 'receipt_text_signup',
'description' => 'Receipt Text for membership signup',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Receipt Text for membership renewal',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Auto Renew') ,
'description' => '0 = No auto-renew option; 1 = Give option, but not required; 2 = Auto-renew required;',
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
'pseudoconstant' => array(
'callback' => 'CRM_Core_SelectValues::memberAutoRenew',
)
'title' => ts('Is Active') ,
'description' => 'Is this membership_type enabled',
'default' => '1',
+ 'table_name' => 'civicrm_membership_type',
+ 'entity' => 'MembershipType',
+ 'bao' => 'CRM_Member_BAO_MembershipType',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/PCP/PCP.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0bcab6bf2c0208b27e710a7653da32ba)
+ * (GenCodeChecksum:b0ad3c4d4285b2ea74ea434530fa6f64)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Personal Campaign Page ID') ,
'description' => 'Personal Campaign Page ID',
'required' => true,
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
) ,
'pcp_contact_id' => array(
'name' => 'contact_id',
'title' => ts('Contact ID') ,
'description' => 'FK to Contact ID',
'required' => true,
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => array(
'type' => 'EntityRef',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Personal Campaign Page Status') ,
'required' => true,
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
'html' => array(
'type' => 'Select',
) ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'NULL',
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Intro Text') ,
'default' => 'NULL',
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
'html' => array(
'type' => 'TexArea',
) ,
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Page Text') ,
'default' => 'NULL',
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
'html' => array(
'type' => 'TexArea',
) ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'NULL',
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Contribution Page') ,
'description' => 'The Contribution or Event Page which triggered this pcp',
'required' => true,
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
) ,
'page_type' => array(
'name' => 'page_type',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'default' => 'contribute',
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('PCP Block') ,
'description' => 'The pcp block that this pcp page was created from',
'required' => true,
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
) ,
'is_thermometer' => array(
'name' => 'is_thermometer',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Use Thermometer?') ,
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
'html' => array(
'type' => 'CheckBox',
) ,
'name' => 'is_honor_roll',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Show Honor Roll?') ,
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
'html' => array(
'type' => 'CheckBox',
) ,
20,
2
) ,
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
'html' => array(
'type' => 'Text',
) ,
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
'default' => 'NULL',
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Enabled?') ,
'description' => 'Is Personal Campaign Page enabled/active?',
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Notify Owner?') ,
'description' => 'Notify owner via email when someone donates to page?',
+ 'table_name' => 'civicrm_pcp',
+ 'entity' => 'PCP',
+ 'bao' => 'CRM_PCP_BAO_PCP',
'html' => array(
'type' => 'CheckBox',
) ,
*
* Generated from xml/schema/CRM/PCP/PCPBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5657c6e05eb867adb0984d5d2c45616e)
+ * (GenCodeChecksum:19658f7692f6185ddf125d80f236aede)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('PCP Block ID') ,
'description' => 'PCP block Id',
'required' => true,
+ 'table_name' => 'civicrm_pcp_block',
+ 'entity' => 'PCPBlock',
+ 'bao' => 'CRM_PCP_BAO_PCPBlock',
) ,
'entity_table' => array(
'name' => 'entity_table',
'title' => ts('Entity Table') ,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_pcp_block',
+ 'entity' => 'PCPBlock',
+ 'bao' => 'CRM_PCP_BAO_PCPBlock',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Entity') ,
'description' => 'FK to civicrm_contribution_page.id OR civicrm_event.id',
'required' => true,
+ 'table_name' => 'civicrm_pcp_block',
+ 'entity' => 'PCPBlock',
+ 'bao' => 'CRM_PCP_BAO_PCPBlock',
) ,
'target_entity_type' => array(
'name' => 'target_entity_type',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'contribute',
+ 'table_name' => 'civicrm_pcp_block',
+ 'entity' => 'PCPBlock',
+ 'bao' => 'CRM_PCP_BAO_PCPBlock',
) ,
'target_entity_id' => array(
'name' => 'target_entity_id',
'title' => ts('Target Entity ID') ,
'description' => 'The entity that this pcp targets',
'required' => true,
+ 'table_name' => 'civicrm_pcp_block',
+ 'entity' => 'PCPBlock',
+ 'bao' => 'CRM_PCP_BAO_PCPBlock',
) ,
'supporter_profile_id' => array(
'name' => 'supporter_profile_id',
'title' => ts('Supporter Profile') ,
'description' => 'FK to civicrm_uf_group.id. Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?',
'default' => 'NULL',
+ 'table_name' => 'civicrm_pcp_block',
+ 'entity' => 'PCPBlock',
+ 'bao' => 'CRM_PCP_BAO_PCPBlock',
'FKClassName' => 'CRM_Core_DAO_UFGroup',
) ,
'owner_notify_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Owner Notification') ,
'description' => 'FK to civicrm_option_group with name = PCP owner notifications',
+ 'table_name' => 'civicrm_pcp_block',
+ 'entity' => 'PCPBlock',
+ 'bao' => 'CRM_PCP_BAO_PCPBlock',
'html' => array(
'type' => 'Radio',
) ,
'title' => ts('Approval Required?') ,
'description' => 'Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?',
'default' => 'NULL',
+ 'table_name' => 'civicrm_pcp_block',
+ 'entity' => 'PCPBlock',
+ 'bao' => 'CRM_PCP_BAO_PCPBlock',
) ,
'is_tellfriend_enabled' => array(
'name' => 'is_tellfriend_enabled',
'title' => ts('Tell a Friend Enabled?') ,
'description' => 'Does Personal Campaign Page allow using tell a friend?',
'default' => 'NULL',
+ 'table_name' => 'civicrm_pcp_block',
+ 'entity' => 'PCPBlock',
+ 'bao' => 'CRM_PCP_BAO_PCPBlock',
) ,
'tellfriend_limit' => array(
'name' => 'tellfriend_limit',
'title' => ts('Tell A Friend Limit') ,
'description' => 'Maximum recipient fields allowed in tell a friend',
'default' => 'NULL',
+ 'table_name' => 'civicrm_pcp_block',
+ 'entity' => 'PCPBlock',
+ 'bao' => 'CRM_PCP_BAO_PCPBlock',
) ,
'link_text' => array(
'name' => 'link_text',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'NULL',
+ 'table_name' => 'civicrm_pcp_block',
+ 'entity' => 'PCPBlock',
+ 'bao' => 'CRM_PCP_BAO_PCPBlock',
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Enabled?') ,
'description' => 'Is Personal Campaign Page Block enabled/active?',
'default' => '1',
+ 'table_name' => 'civicrm_pcp_block',
+ 'entity' => 'PCPBlock',
+ 'bao' => 'CRM_PCP_BAO_PCPBlock',
) ,
'notify_email' => array(
'name' => 'notify_email',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'NULL',
+ 'table_name' => 'civicrm_pcp_block',
+ 'entity' => 'PCPBlock',
+ 'bao' => 'CRM_PCP_BAO_PCPBlock',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Pledge/Pledge.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6aa082b07bbcb93e0a7c5e9048643c91)
+ * (GenCodeChecksum:abf97ff2eccd3eddbdfce18258aff4a1)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_pledge',
+ 'entity' => 'Pledge',
+ 'bao' => 'CRM_Pledge_BAO_Pledge',
) ,
'pledge_contact_id' => array(
'name' => 'contact_id',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_pledge',
+ 'entity' => 'Pledge',
+ 'bao' => 'CRM_Pledge_BAO_Pledge',
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => array(
'type' => 'EntityRef',
'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',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'html' => array(
'type' => 'Select',
'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',
'FKClassName' => 'CRM_Contribute_DAO_ContributionPage',
) ,
'pledge_amount' => array(
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_pledge',
+ 'entity' => 'Pledge',
+ 'bao' => 'CRM_Pledge_BAO_Pledge',
'html' => array(
'type' => 'Text',
) ,
20,
2
) ,
+ 'table_name' => 'civicrm_pledge',
+ 'entity' => 'Pledge',
+ 'bao' => 'CRM_Pledge_BAO_Pledge',
'html' => array(
'type' => 'Text',
) ,
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
'default' => 'NULL',
+ 'table_name' => 'civicrm_pledge',
+ 'entity' => 'Pledge',
+ 'bao' => 'CRM_Pledge_BAO_Pledge',
'html' => array(
'type' => 'Select',
) ,
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'default' => 'month',
+ 'table_name' => 'civicrm_pledge',
+ 'entity' => 'Pledge',
+ 'bao' => 'CRM_Pledge_BAO_Pledge',
'html' => array(
'type' => 'Select',
) ,
'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',
'html' => array(
'type' => 'Text',
) ,
'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',
'html' => array(
'type' => 'Select',
) ,
'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',
'html' => array(
'type' => 'Text',
) ,
'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',
'html' => array(
'type' => 'Select Date',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_pledge',
+ 'entity' => 'Pledge',
+ 'bao' => 'CRM_Pledge_BAO_Pledge',
'html' => array(
'type' => 'Select Date',
) ,
'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',
'html' => array(
'type' => 'Select Date',
) ,
'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',
) ,
'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',
'html' => array(
'type' => 'Select Date',
) ,
'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',
'html' => array(
'type' => 'Select Date',
) ,
'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',
'html' => array(
'type' => 'Text',
) ,
'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',
'html' => array(
'type' => 'Select',
) ,
'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',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => false,
+ 'table_name' => 'civicrm_pledge',
+ 'entity' => 'Pledge',
+ 'bao' => 'CRM_Pledge_BAO_Pledge',
'pseudoconstant' => array(
'optionGroupName' => 'contribution_status',
'optionEditPath' => 'civicrm/admin/options/contribution_status',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_pledge',
+ 'entity' => 'Pledge',
+ 'bao' => 'CRM_Pledge_BAO_Pledge',
'html' => array(
'type' => 'CheckBox',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_pledge',
+ 'entity' => 'Pledge',
+ 'bao' => 'CRM_Pledge_BAO_Pledge',
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'html' => array(
'type' => 'Select',
*
* Generated from xml/schema/CRM/Pledge/PledgeBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:884b8af4af4d96ca57a59d3bfe2d0634)
+ * (GenCodeChecksum:ae4e663c058d6484605ac75df78fef1f)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Pledge Block ID') ,
'description' => 'Pledge ID',
'required' => true,
+ 'table_name' => 'civicrm_pledge_block',
+ 'entity' => 'PledgeBlock',
+ 'bao' => 'CRM_Pledge_BAO_PledgeBlock',
) ,
'entity_table' => array(
'name' => 'entity_table',
'description' => 'physical tablename for entity being joined to pledge, e.g. civicrm_contact',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_pledge_block',
+ 'entity' => 'PledgeBlock',
+ 'bao' => 'CRM_Pledge_BAO_PledgeBlock',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Entity Id') ,
'description' => 'FK to entity table specified in entity_table column.',
'required' => true,
+ 'table_name' => 'civicrm_pledge_block',
+ 'entity' => 'PledgeBlock',
+ 'bao' => 'CRM_Pledge_BAO_PledgeBlock',
) ,
'pledge_frequency_unit' => array(
'name' => 'pledge_frequency_unit',
'description' => 'Delimited list of supported frequency units',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_pledge_block',
+ 'entity' => 'PledgeBlock',
+ 'bao' => 'CRM_Pledge_BAO_PledgeBlock',
) ,
'is_pledge_interval' => array(
'name' => 'is_pledge_interval',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Expose Frequency Interval?') ,
'description' => 'Is frequency interval exposed on the contribution form.',
+ 'table_name' => 'civicrm_pledge_block',
+ 'entity' => 'PledgeBlock',
+ 'bao' => 'CRM_Pledge_BAO_PledgeBlock',
) ,
'max_reminders' => array(
'name' => 'max_reminders',
'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_block',
+ 'entity' => 'PledgeBlock',
+ 'bao' => 'CRM_Pledge_BAO_PledgeBlock',
) ,
'initial_reminder_day' => array(
'name' => 'initial_reminder_day',
'title' => ts('Initial Reminder Day') ,
'description' => 'Send initial reminder this many days prior to the payment due date.',
'default' => '5',
+ 'table_name' => 'civicrm_pledge_block',
+ 'entity' => 'PledgeBlock',
+ 'bao' => 'CRM_Pledge_BAO_PledgeBlock',
) ,
'additional_reminder_day' => array(
'name' => 'additional_reminder_day',
'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_block',
+ 'entity' => 'PledgeBlock',
+ 'bao' => 'CRM_Pledge_BAO_PledgeBlock',
) ,
'pledge_start_date' => array(
'name' => 'pledge_start_date',
'description' => 'The date the first scheduled pledge occurs.',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_pledge_block',
+ 'entity' => 'PledgeBlock',
+ 'bao' => 'CRM_Pledge_BAO_PledgeBlock',
) ,
'is_pledge_start_date_visible' => array(
'name' => 'is_pledge_start_date_visible',
'title' => ts('Show Recurring Donation Start Date?') ,
'description' => 'If true - recurring start date is shown.',
'required' => true,
+ 'table_name' => 'civicrm_pledge_block',
+ 'entity' => 'PledgeBlock',
+ 'bao' => 'CRM_Pledge_BAO_PledgeBlock',
) ,
'is_pledge_start_date_editable' => array(
'name' => 'is_pledge_start_date_editable',
'title' => ts('Allow Edits to Recurring Donation Start Date?') ,
'description' => 'If true - recurring start date is editable.',
'required' => true,
+ 'table_name' => 'civicrm_pledge_block',
+ 'entity' => 'PledgeBlock',
+ 'bao' => 'CRM_Pledge_BAO_PledgeBlock',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Pledge/PledgePayment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:61fd25d78097c2495d13be5336a17923)
+ * (GenCodeChecksum:a879d5d1209af280f5713279e0911e2b)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_pledge_payment',
+ 'entity' => 'PledgePayment',
+ 'bao' => 'CRM_Pledge_BAO_PledgePayment',
) ,
'pledge_id' => array(
'name' => 'pledge_id',
'title' => ts('Pledge') ,
'description' => 'FK to Pledge table',
'required' => true,
+ 'table_name' => 'civicrm_pledge_payment',
+ 'entity' => 'PledgePayment',
+ 'bao' => 'CRM_Pledge_BAO_PledgePayment',
'FKClassName' => 'CRM_Pledge_DAO_Pledge',
) ,
'contribution_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contribution') ,
'description' => 'FK to contribution table.',
+ 'table_name' => 'civicrm_pledge_payment',
+ 'entity' => 'PledgePayment',
+ 'bao' => 'CRM_Pledge_BAO_PledgePayment',
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
) ,
'pledge_payment_scheduled_amount' => array(
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_pledge_payment',
+ 'entity' => 'PledgePayment',
+ 'bao' => 'CRM_Pledge_BAO_PledgePayment',
) ,
'pledge_payment_actual_amount' => array(
'name' => 'actual_amount',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_pledge_payment',
+ 'entity' => 'PledgePayment',
+ 'bao' => 'CRM_Pledge_BAO_PledgePayment',
) ,
'currency' => array(
'name' => 'currency',
'maxlength' => 3,
'size' => CRM_Utils_Type::FOUR,
'default' => 'NULL',
+ 'table_name' => 'civicrm_pledge_payment',
+ 'entity' => 'PledgePayment',
+ 'bao' => 'CRM_Pledge_BAO_PledgePayment',
'html' => array(
'type' => 'Select',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_pledge_payment',
+ 'entity' => 'PledgePayment',
+ 'bao' => 'CRM_Pledge_BAO_PledgePayment',
) ,
'pledge_payment_reminder_date' => array(
'name' => 'reminder_date',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_pledge_payment',
+ 'entity' => 'PledgePayment',
+ 'bao' => 'CRM_Pledge_BAO_PledgePayment',
) ,
'pledge_payment_reminder_count' => array(
'name' => 'reminder_count',
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_pledge_payment',
+ 'entity' => 'PledgePayment',
+ 'bao' => 'CRM_Pledge_BAO_PledgePayment',
) ,
'pledge_payment_status_id' => array(
'name' => 'status_id',
'headerPattern' => '',
'dataPattern' => '',
'export' => false,
+ 'table_name' => 'civicrm_pledge_payment',
+ 'entity' => 'PledgePayment',
+ 'bao' => 'CRM_Pledge_BAO_PledgePayment',
'pseudoconstant' => array(
'optionGroupName' => 'contribution_status',
'optionEditPath' => 'civicrm/admin/options/contribution_status',
*
* Generated from xml/schema/CRM/Price/LineItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b80ad6c535fb23d2a40fc36104895a79)
+ * (GenCodeChecksum:b79438c224d31b7195236f3e1cdd5855)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Line Item ID') ,
'description' => 'Line Item',
'required' => true,
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
) ,
'entity_table' => array(
'name' => 'entity_table',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Line Item Entity') ,
'description' => 'entry in table',
'required' => true,
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
) ,
'contribution_id' => array(
'name' => 'contribution_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Line Item Contribution') ,
'description' => 'FK to civicrm_contribution',
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
'FKClassName' => 'CRM_Contribute_DAO_Contribution',
) ,
'price_field_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Line Item Price Field') ,
'description' => 'FK to civicrm_price_field',
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
'FKClassName' => 'CRM_Price_DAO_PriceField',
) ,
'label' => array(
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'default' => 'NULL',
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
'html' => array(
'type' => 'Text',
) ,
20,
2
) ,
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
'html' => array(
'type' => 'Text',
) ,
20,
2
) ,
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
'html' => array(
'type' => 'Text',
) ,
20,
2
) ,
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
) ,
'participant_count' => array(
'name' => 'participant_count',
'title' => ts('Line Item Participant Count') ,
'description' => 'Participant count for field',
'default' => 'NULL',
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Line Item Option') ,
'description' => 'FK to civicrm_price_field_value',
'default' => 'NULL',
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
'FKClassName' => 'CRM_Price_DAO_PriceFieldValue',
) ,
'financial_type_id' => array(
'title' => ts('Financial Type') ,
'description' => 'FK to Financial Type.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'html' => array(
'type' => 'Select',
2
) ,
'default' => '0.0',
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '/tax(.?am(ou)?nt)?/i',
'dataPattern' => '/^\d+(\.\d{2})?$/',
'export' => true,
+ 'table_name' => 'civicrm_line_item',
+ 'entity' => 'LineItem',
+ 'bao' => 'CRM_Price_BAO_LineItem',
'html' => array(
'type' => 'Text',
) ,
*
* Generated from xml/schema/CRM/Price/PriceField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:019e28bc18cd97350792036a5f9eedf1)
+ * (GenCodeChecksum:966d70f0e4bc5a6726beff4a9b43952c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Price Field ID') ,
'description' => 'Price Field',
'required' => true,
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
) ,
'price_set_id' => array(
'name' => 'price_set_id',
'title' => ts('Price Set') ,
'description' => 'FK to civicrm_price_set',
'required' => true,
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'FKClassName' => 'CRM_Price_DAO_PriceSet',
) ,
'name' => array(
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'Text',
) ,
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'Text',
) ,
'required' => true,
'maxlength' => 12,
'size' => CRM_Utils_Type::TWELVE,
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Price Field Quantity Required?') ,
'description' => 'Enter a quantity for this field?',
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'CheckBox',
) ,
'description' => 'Description and/or help text to display before this field.',
'rows' => 4,
'cols' => 80,
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Description and/or help text to display after this field.',
'rows' => 4,
'cols' => 80,
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'TextArea',
) ,
'title' => ts('Order') ,
'description' => 'Order in which the fields should appear',
'default' => '1',
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Price Field Show Amounts?') ,
'description' => 'Should the price be displayed next to the label for each option?',
'default' => '1',
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'CheckBox',
) ,
'title' => ts('Price Field Options per Row') ,
'description' => 'number of options per line for checkbox and radio',
'default' => '1',
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Price Field Is Active?') ,
'description' => 'Is this price field active',
'default' => '1',
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'CheckBox',
) ,
'title' => ts('Price Field is Required?') ,
'description' => 'Is this price field required (value must be > 1)',
'default' => '1',
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'CheckBox',
) ,
'title' => ts('Price Field Start Date') ,
'description' => 'If non-zero, do not show this field before the date specified',
'default' => 'NULL',
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'CheckBox',
) ,
'title' => ts('Price Field End Date') ,
'description' => 'If non-zero, do not show this field after the date specified',
'default' => 'NULL',
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'Select Date',
) ,
'description' => 'Optional scripting attributes for field',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Price Field Visibility') ,
'description' => 'Implicit FK to civicrm_option_group with name = \'visibility\'',
'default' => '1',
+ 'table_name' => 'civicrm_price_field',
+ 'entity' => 'PriceField',
+ 'bao' => 'CRM_Price_BAO_PriceField',
'html' => array(
'type' => 'Select',
) ,
*
* Generated from xml/schema/CRM/Price/PriceFieldValue.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ed52bc054bb8aed4bb154756a79fafa1)
+ * (GenCodeChecksum:f0ace0187969a76ff45c62032e8303a2)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Price Field Value ID') ,
'description' => 'Price Field Value',
'required' => true,
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
) ,
'price_field_id' => array(
'name' => 'price_field_id',
'title' => ts('Price Field') ,
'description' => 'FK to civicrm_price_field',
'required' => true,
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'FKClassName' => 'CRM_Price_DAO_PriceField',
) ,
'name' => array(
'description' => 'Price field option name',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Price field option label',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'html' => array(
'type' => 'Text',
) ,
'rows' => 2,
'cols' => 60,
'default' => 'NULL',
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'html' => array(
'type' => 'TextArea',
) ,
'rows' => 2,
'cols' => 60,
'default' => 'NULL',
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'html' => array(
'type' => 'TextArea',
) ,
'rows' => 2,
'cols' => 60,
'default' => 'NULL',
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'html' => array(
'type' => 'TextArea',
) ,
'required' => true,
'maxlength' => 512,
'size' => 8,
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Count') ,
'description' => 'Number of participants per field option',
'default' => 'NULL',
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Max Value') ,
'description' => 'Max number of participants per field options',
'default' => 'NULL',
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Order') ,
'description' => 'Order in which the field options should appear',
'default' => '1',
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Membership Type') ,
'description' => 'FK to Membership Type',
'default' => 'NULL',
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'FKClassName' => 'CRM_Member_DAO_MembershipType',
'html' => array(
'type' => 'Select',
'title' => ts('Membership Num Terms') ,
'description' => 'Number of terms for this membership',
'default' => 'NULL',
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Default Price Field Option?') ,
'description' => 'Is this default price field option',
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'html' => array(
'type' => 'CheckBox',
) ,
'title' => ts('Price Field Value is Active') ,
'description' => 'Is this price field value active',
'default' => '1',
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
) ,
'financial_type_id' => array(
'name' => 'financial_type_id',
'title' => ts('Financial Type') ,
'description' => 'FK to Financial Type.',
'default' => 'NULL',
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'html' => array(
'type' => 'Select',
2
) ,
'default' => '0.0',
+ 'table_name' => 'civicrm_price_field_value',
+ 'entity' => 'PriceFieldValue',
+ 'bao' => 'CRM_Price_BAO_PriceFieldValue',
'html' => array(
'type' => 'Text',
) ,
*
* Generated from xml/schema/CRM/Price/PriceSet.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1642f2b38411573c40848c0d7c83c74c)
+ * (GenCodeChecksum:80d53a8eb9ccb6a4fe13148a41fb30d1)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Price Set ID') ,
'description' => 'Price Set',
'required' => true,
+ 'table_name' => 'civicrm_price_set',
+ 'entity' => 'PriceSet',
+ 'bao' => 'CRM_Price_BAO_PriceSet',
) ,
'domain_id' => array(
'name' => 'domain_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Price Set Domain') ,
'description' => 'Which Domain is this price-set for',
+ 'table_name' => 'civicrm_price_set',
+ 'entity' => 'PriceSet',
+ 'bao' => 'CRM_Price_BAO_PriceSet',
'FKClassName' => 'CRM_Core_DAO_Domain',
'html' => array(
'type' => 'Text',
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_price_set',
+ 'entity' => 'PriceSet',
+ 'bao' => 'CRM_Price_BAO_PriceSet',
'html' => array(
'type' => 'Text',
) ,
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_price_set',
+ 'entity' => 'PriceSet',
+ 'bao' => 'CRM_Price_BAO_PriceSet',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Price Set Is Active?') ,
'description' => 'Is this price set active',
'default' => '1',
+ 'table_name' => 'civicrm_price_set',
+ 'entity' => 'PriceSet',
+ 'bao' => 'CRM_Price_BAO_PriceSet',
'html' => array(
'type' => 'CheckBox',
) ,
'description' => 'Description and/or help text to display before fields in form.',
'rows' => 4,
'cols' => 80,
+ 'table_name' => 'civicrm_price_set',
+ 'entity' => 'PriceSet',
+ 'bao' => 'CRM_Price_BAO_PriceSet',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Description and/or help text to display after fields in form.',
'rows' => 4,
'cols' => 80,
+ 'table_name' => 'civicrm_price_set',
+ 'entity' => 'PriceSet',
+ 'bao' => 'CRM_Price_BAO_PriceSet',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'Optional Javascript script function(s) included on the form with this price_set. Can be used for conditional',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_price_set',
+ 'entity' => 'PriceSet',
+ 'bao' => 'CRM_Price_BAO_PriceSet',
'html' => array(
'type' => 'Text',
) ,
'required' => true,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_price_set',
+ 'entity' => 'PriceSet',
+ 'bao' => 'CRM_Price_BAO_PriceSet',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Financial Type') ,
'description' => 'FK to Financial Type(for membership price sets only).',
'default' => 'NULL',
+ 'table_name' => 'civicrm_price_set',
+ 'entity' => 'PriceSet',
+ 'bao' => 'CRM_Price_BAO_PriceSet',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'html' => array(
'type' => 'Select',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Price Set Quick Config?') ,
'description' => 'Is set if edited on Contribution or Event Page rather than through Manage Price Sets',
+ 'table_name' => 'civicrm_price_set',
+ 'entity' => 'PriceSet',
+ 'bao' => 'CRM_Price_BAO_PriceSet',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Price Set Is Reserved') ,
'description' => 'Is this a predefined system price set (i.e. it can not be deleted, edited)?',
+ 'table_name' => 'civicrm_price_set',
+ 'entity' => 'PriceSet',
+ 'bao' => 'CRM_Price_BAO_PriceSet',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Minimum Amount') ,
'description' => 'Minimum Amount required for this set.',
+ 'table_name' => 'civicrm_price_set',
+ 'entity' => 'PriceSet',
+ 'bao' => 'CRM_Price_BAO_PriceSet',
'html' => array(
'type' => 'Text',
) ,
*
* Generated from xml/schema/CRM/Price/PriceSetEntity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3f65892a77e8bb07a146880abcc67702)
+ * (GenCodeChecksum:60733cc4b62e54f28024d6e0b1d90bd5)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Price Set Entity ID') ,
'description' => 'Price Set Entity',
'required' => true,
+ 'table_name' => 'civicrm_price_set_entity',
+ 'entity' => 'PriceSetEntity',
+ 'bao' => 'CRM_Price_DAO_PriceSetEntity',
) ,
'entity_table' => array(
'name' => 'entity_table',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_price_set_entity',
+ 'entity' => 'PriceSetEntity',
+ 'bao' => 'CRM_Price_DAO_PriceSetEntity',
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Entity IF') ,
'description' => 'Item in table',
'required' => true,
+ 'table_name' => 'civicrm_price_set_entity',
+ 'entity' => 'PriceSetEntity',
+ 'bao' => 'CRM_Price_DAO_PriceSetEntity',
) ,
'price_set_id' => array(
'name' => 'price_set_id',
'title' => ts('Price Set') ,
'description' => 'price set being used',
'required' => true,
+ 'table_name' => 'civicrm_price_set_entity',
+ 'entity' => 'PriceSetEntity',
+ 'bao' => 'CRM_Price_DAO_PriceSetEntity',
'FKClassName' => 'CRM_Price_DAO_PriceSet',
) ,
);
*
* Generated from xml/schema/CRM/Queue/QueueItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:45218486c40b902ee5e043e22b1a7d20)
+ * (GenCodeChecksum:29c70cc367a66f90eb5616927289949e)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Queue ID') ,
'required' => true,
+ 'table_name' => 'civicrm_queue_item',
+ 'entity' => 'QueueItem',
+ 'bao' => 'CRM_Queue_BAO_QueueItem',
) ,
'queue_name' => array(
'name' => 'queue_name',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_queue_item',
+ 'entity' => 'QueueItem',
+ 'bao' => 'CRM_Queue_BAO_QueueItem',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Order') ,
'required' => true,
+ 'table_name' => 'civicrm_queue_item',
+ 'entity' => 'QueueItem',
+ 'bao' => 'CRM_Queue_BAO_QueueItem',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('Submit Time') ,
'description' => 'date on which this item was submitted to the queue',
'required' => true,
+ 'table_name' => 'civicrm_queue_item',
+ 'entity' => 'QueueItem',
+ 'bao' => 'CRM_Queue_BAO_QueueItem',
'html' => array(
'type' => 'Select Date',
) ,
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Release Time') ,
'description' => 'date on which this job becomes available; null if ASAP',
+ 'table_name' => 'civicrm_queue_item',
+ 'entity' => 'QueueItem',
+ 'bao' => 'CRM_Queue_BAO_QueueItem',
'html' => array(
'type' => 'Select Date',
) ,
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Queue item datas') ,
'description' => 'Serialized queue',
+ 'table_name' => 'civicrm_queue_item',
+ 'entity' => 'QueueItem',
+ 'bao' => 'CRM_Queue_BAO_QueueItem',
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
*
* Generated from xml/schema/CRM/Report/ReportInstance.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4d7edbf54140044fccbc576ca21d7465)
+ * (GenCodeChecksum:d5a94a431757634406b4710296279835)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Report Instance ID') ,
'description' => 'Report Instance ID',
'required' => true,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
) ,
'domain_id' => array(
'name' => 'domain_id',
'title' => ts('Report Instance Domain ID') ,
'description' => 'Which Domain is this instance for',
'required' => true,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'description' => 'Report Instance Title.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'Text',
) ,
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'Select',
) ,
'description' => 'when combined with report_id/template uniquely identifies the instance',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'Text',
) ,
'description' => 'arguments that are passed in the url when invoking the instance',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'Text',
) ,
'description' => 'Report Instance description.',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'Text',
) ,
'description' => 'permission required to be able to run this instance',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'Text',
) ,
'description' => 'role required to be able to run this instance',
'maxlength' => 1024,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'Text',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
) ,
'is_active' => array(
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Report Instance is Active') ,
'description' => 'Is this entry active?',
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'CheckBox',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Report Instance Created By') ,
'description' => 'FK to contact table.',
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'owner_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Report Instance Owned By') ,
'description' => 'FK to contact table.',
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'email_subject' => array(
'description' => 'Subject of email',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Email Report Instance To') ,
'description' => 'comma-separated list of email addresses to send the report to',
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('cc Email Report Instance To') ,
'description' => 'comma-separated list of email addresses to send the report to',
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'Text',
) ,
'description' => 'comma-separated list of email addresses to send the report to',
'rows' => 4,
'cols' => 60,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'TextArea',
) ,
'description' => 'comma-separated list of email addresses to send the report to',
'rows' => 4,
'cols' => 60,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'TextArea',
) ,
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'FKClassName' => 'CRM_Core_DAO_Navigation',
) ,
'drilldown_id' => array(
'headerPattern' => '',
'dataPattern' => '',
'export' => true,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'FKClassName' => 'CRM_Report_DAO_ReportInstance',
) ,
'is_reserved' => array(
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Instance is Reserved') ,
+ 'table_name' => 'civicrm_report_instance',
+ 'entity' => 'ReportInstance',
+ 'bao' => 'CRM_Report_BAO_ReportInstance',
'html' => array(
'type' => 'CheckBox',
) ,
*
* Generated from xml/schema/CRM/SMS/Provider.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:31f5a6353dfc5b4630f3e0e9e82ce40e)
+ * (GenCodeChecksum:e3213cedffb39026a84af8e4c210669f)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('SMS Provider ID') ,
'description' => 'SMS Provider ID',
'required' => true,
+ 'table_name' => 'civicrm_sms_provider',
+ 'entity' => 'Provider',
+ 'bao' => 'CRM_SMS_BAO_Provider',
) ,
'name' => array(
'name' => 'name',
'description' => 'Provider internal name points to option_value of option_group sms_provider_name',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_sms_provider',
+ 'entity' => 'Provider',
+ 'bao' => 'CRM_SMS_BAO_Provider',
) ,
'title' => array(
'name' => 'title',
'description' => 'Provider name visible to user',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_sms_provider',
+ 'entity' => 'Provider',
+ 'bao' => 'CRM_SMS_BAO_Provider',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('SMS Provider Username') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_sms_provider',
+ 'entity' => 'Provider',
+ 'bao' => 'CRM_SMS_BAO_Provider',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('SMS Provider Password') ,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_sms_provider',
+ 'entity' => 'Provider',
+ 'bao' => 'CRM_SMS_BAO_Provider',
'html' => array(
'type' => 'Text',
) ,
'title' => ts('SMS Provider API') ,
'description' => 'points to value in civicrm_option_value for group sms_api_type',
'required' => true,
+ 'table_name' => 'civicrm_sms_provider',
+ 'entity' => 'Provider',
+ 'bao' => 'CRM_SMS_BAO_Provider',
'html' => array(
'type' => 'Select',
) ,
'title' => ts('SMS Provider API URL') ,
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_sms_provider',
+ 'entity' => 'Provider',
+ 'bao' => 'CRM_SMS_BAO_Provider',
'html' => array(
'type' => 'Text',
) ,
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('SMS Provider API Params') ,
'description' => 'the api params in xml, http or smtp format',
+ 'table_name' => 'civicrm_sms_provider',
+ 'entity' => 'Provider',
+ 'bao' => 'CRM_SMS_BAO_Provider',
'html' => array(
'type' => 'Text',
) ,
'name' => 'is_default',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('SMS Provider is Default?') ,
+ 'table_name' => 'civicrm_sms_provider',
+ 'entity' => 'Provider',
+ 'bao' => 'CRM_SMS_BAO_Provider',
'html' => array(
'type' => 'CheckBox',
) ,
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('SMS Provider is Active?') ,
+ 'table_name' => 'civicrm_sms_provider',
+ 'entity' => 'Provider',
+ 'bao' => 'CRM_SMS_BAO_Provider',
'html' => array(
'type' => 'CheckBox',
) ,