X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FDAO%2FRelationship.php;h=6312c40554160d383a87e937feb8dd47aa623809;hb=1ac9bb56e6130bb7a0c01b9d7c6d1b60fdfcff14;hp=8ad5e40702fd2e64cd43e439993f009502053f01;hpb=8dda910479e13cefd34c155b00f107ca24a1ec50;p=civicrm-core.git diff --git a/CRM/Contact/DAO/Relationship.php b/CRM/Contact/DAO/Relationship.php index 8ad5e40702..6312c40554 100644 --- a/CRM/Contact/DAO/Relationship.php +++ b/CRM/Contact/DAO/Relationship.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/Relationship.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:7fed0ad7c2ed2b072582b55afdb6469f) + * (GenCodeChecksum:5c1cfe38206fb7c465befe517bf6f23d) */ /** @@ -59,7 +59,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { public $contact_id_b; /** - * id of the relationship + * Type of relationship * * @var int */ @@ -206,7 +206,7 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'name' => 'relationship_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Relationship Type'), - 'description' => ts('id of the relationship'), + 'description' => ts('Type of relationship'), 'required' => TRUE, 'where' => 'civicrm_relationship.relationship_type_id', 'table_name' => 'civicrm_relationship', @@ -217,6 +217,12 @@ class CRM_Contact_DAO_Relationship extends CRM_Core_DAO { 'html' => [ 'type' => 'Select', ], + 'pseudoconstant' => [ + 'table' => 'civicrm_relationship_type', + 'keyColumn' => 'id', + 'labelColumn' => 'label_a_b', + 'nameColumn' => 'name_a_b', + ], 'add' => '1.1', ], 'relationship_start_date' => [