*
* Generated from xml/schema/CRM/Contact/Relationship.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f512c36730defcd334c0e6ccc896e7fb)
+ * (GenCodeChecksum:b1e83f9c102db77881c4b9c730f38337)
*/
/**
'entity' => 'Relationship',
'bao' => 'CRM_Contact_BAO_Relationship',
'localizable' => 0,
+ 'add' => '1.1',
],
'contact_id_a' => [
'name' => 'contact_id_a',
'bao' => 'CRM_Contact_BAO_Relationship',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'add' => '1.1',
],
'contact_id_b' => [
'name' => 'contact_id_b',
'html' => [
'type' => 'EntityRef',
],
+ 'add' => '1.1',
],
'relationship_type_id' => [
'name' => 'relationship_type_id',
'html' => [
'type' => 'Select',
],
+ 'add' => '1.1',
],
'relationship_start_date' => [
'name' => 'start_date',
'type' => 'Select Date',
'formatType' => 'activityDate',
],
+ 'add' => '1.1',
],
'relationship_end_date' => [
'name' => 'end_date',
'type' => 'Select Date',
'formatType' => 'activityDate',
],
+ 'add' => '1.1',
],
'is_active' => [
'name' => 'is_active',
'html' => [
'type' => 'CheckBox',
],
+ 'add' => '1.1',
],
'description' => [
'name' => 'description',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.5',
],
'is_permission_a_b' => [
'name' => 'is_permission_a_b',
'pseudoconstant' => [
'callback' => 'CRM_Core_SelectValues::getPermissionedRelationshipOptions',
],
+ 'add' => '2.1',
],
'is_permission_b_a' => [
'name' => 'is_permission_b_a',
'pseudoconstant' => [
'callback' => 'CRM_Core_SelectValues::getPermissionedRelationshipOptions',
],
+ 'add' => '2.1',
],
'case_id' => [
'name' => 'case_id',
'bao' => 'CRM_Contact_BAO_Relationship',
'localizable' => 0,
'FKClassName' => 'CRM_Case_DAO_Case',
+ 'add' => '2.2',
],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);