/**
* This is a string which is either a_b or b_a used to determine the relationship between to contacts
+ * @var string
*/
public $_rtype;
/**
* This is a string which is used to determine the relationship between to contacts
+ * @var string
*/
public $_rtypeId;
/**
* Display name of contact a
+ * @var string
*/
public $_display_name_a;
/**
* Display name of contact b
+ * @var string
*/
public $_display_name_b;
/**
* The relationship values if Updating relationship
+ * @var array
*/
public $_values;
/**
* Case id if it called from case context
+ * @var int
*/
public $_caseId;
public function buildQuickForm() {
if ($this->_action & CRM_Core_Action::DELETE) {
$this->addButtons([
- [
- 'type' => 'next',
- 'name' => ts('Delete'),
- 'isDefault' => TRUE,
- ],
- [
- 'type' => 'cancel',
- 'name' => ts('Cancel'),
- ],
- ]
- );
+ [
+ 'type' => 'next',
+ 'name' => ts('Delete'),
+ 'isDefault' => TRUE,
+ ],
+ [
+ 'type' => 'cancel',
+ 'name' => ts('Cancel'),
+ ],
+ ]);
return;
}
return [$params, $relationshipIds];
}
-
/**
* Prepares parameters to be used for create/update actions
*