];
$this->fillCustomInfo($tables, "( 'Activity' )");
- return $tables;;
+ return $tables;
}
/**
parent::preProcess();
// display name and email of all contact ids
- $contactIDs = implode(',', $this->_contactIds);;
+ $contactIDs = implode(',', $this->_contactIds);
$query = "
SELECT c.id as contact_id, c.display_name as name,
c.contact_type as contact_type, e.email as email
$selectedValues = (array) \CRM_Utils_Array::explodePadded($schedule->entity_value);
$selectedStatuses = (array) \CRM_Utils_Array::explodePadded($schedule->entity_status);
- $query = \CRM_Utils_SQL_Select::from("civicrm_contribution e")->param($defaultParams);;
+ $query = \CRM_Utils_SQL_Select::from("civicrm_contribution e")->param($defaultParams);
$query['casAddlCheckFrom'] = 'civicrm_contribution e';
$query['casContactIdField'] = 'e.contact_id';
$query['casEntityIdField'] = 'e.id';
$selectedValues = (array) \CRM_Utils_Array::explodePadded($schedule->entity_value);
$selectedStatuses = (array) \CRM_Utils_Array::explodePadded($schedule->entity_status);
- $query = \CRM_Utils_SQL_Select::from("civicrm_contribution e")->param($defaultParams);;
+ $query = \CRM_Utils_SQL_Select::from("civicrm_contribution e")->param($defaultParams);
$query['casAddlCheckFrom'] = 'civicrm_contribution e';
$query['casContactIdField'] = 'e.contact_id';
$query['casEntityIdField'] = 'e.id';
case 'Int':
$this->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause($fieldName, $op, $value, 'Integer');
- $this->_qill[$grouping][] = ts("%1 %2 %3", [1 => $field['label'], 2 => $qillOp, 3 => $qillValue]);;
+ $this->_qill[$grouping][] = ts("%1 %2 %3", [1 => $field['label'], 2 => $qillOp, 3 => $qillValue]);
break;
case 'Boolean':
$params['id'] = $ids['optionGroup'];
}
$optionGroup = new CRM_Core_DAO_OptionGroup();
- $optionGroup->copyValues($params);;
+ $optionGroup->copyValues($params);
$optionGroup->save();
return $optionGroup;
}
else {
$ufField->location_type_id = CRM_Utils_Array::value('location_type_id', $params);
}
- $ufField->phone_type_id = CRM_Utils_Array::value('phone_type_id', $params);;
+ $ufField->phone_type_id = CRM_Utils_Array::value('phone_type_id', $params);
if (!empty($params['id'])) {
$ufField->whereAdd("id <> " . $params['id']);
$requestFields['ssl_ship_to_last_name'] = $params['last_name'];
$requestFields['ssl_card_number'] = $params['credit_card_number'];
$requestFields['ssl_amount'] = trim($params['amount']);
- $requestFields['ssl_exp_date'] = sprintf('%02d', (int) $params['month']) . substr($params['year'], 2, 2);;
+ $requestFields['ssl_exp_date'] = sprintf('%02d', (int) $params['month']) . substr($params['year'], 2, 2);
$requestFields['ssl_cvv2cvc2'] = $params['cvv2'];
// CVV field passed to processor
$requestFields['ssl_cvv2cvc2_indicator'] = "1";
$subTypes['Grant'] = CRM_Core_OptionGroup::values('grant_type');
$subTypes['Campaign'] = CRM_Campaign_PseudoConstant::campaignType();
$subTypes['Participant'] = [];
- $subTypes['ParticipantRole'] = CRM_Core_OptionGroup::values('participant_role');;
+ $subTypes['ParticipantRole'] = CRM_Core_OptionGroup::values('participant_role');
$subTypes['ParticipantEventName'] = CRM_Event_PseudoConstant::event();
$subTypes['ParticipantEventType'] = CRM_Core_OptionGroup::values('event_type');
$subTypes['Individual'] = CRM_Contact_BAO_ContactType::subTypePairs('Individual', FALSE, NULL);
$selectedValues = (array) \CRM_Utils_Array::explodePadded($schedule->entity_value);
$selectedStatuses = (array) \CRM_Utils_Array::explodePadded($schedule->entity_status);
- $query = \CRM_Utils_SQL_Select::from("{$this->entity} e")->param($defaultParams);;
+ $query = \CRM_Utils_SQL_Select::from("{$this->entity} e")->param($defaultParams);
$query['casAddlCheckFrom'] = 'civicrm_event r';
$query['casContactIdField'] = 'e.contact_id';
$query['casEntityIdField'] = 'e.id';
];
// create activity with target contacts
- $id = CRM_Core_Session::singleton()->getLoggedInContactID();;
+ $id = CRM_Core_Session::singleton()->getLoggedInContactID();
if ($id) {
$activityParams['source_contact_id'] = $id;
$activityParams['target_contact_id'][] = $contactId;
case 'participant_status':
$status = CRM_Event_PseudoConstant::participantStatus();
- $values['participant_status_id'] = CRM_Utils_Array::key($value, $status);;
+ $values['participant_status_id'] = CRM_Utils_Array::key($value, $status);
break;
case 'participant_role_id':
$tmpContactField['external_identifier'] = $contactFields['external_identifier'];
$tmpContactField['external_identifier']['title'] = $contactFields['external_identifier']['title'] . " " . ts('(match to contact)');
- $tmpFields['membership_contact_id']['title'] = $tmpFields['membership_contact_id']['title'] . " " . ts('(match to contact)');;
+ $tmpFields['membership_contact_id']['title'] = $tmpFields['membership_contact_id']['title'] . " " . ts('(match to contact)');
$fields = array_merge($fields, $tmpContactField);
$fields = array_merge($fields, $tmpFields);
}
// set financial type used for price set to set default for new option
if (!$this->_oid) {
- $defaults['financial_type_id'] = CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceSet', $this->_sid, 'financial_type_id', 'id');;
+ $defaults['financial_type_id'] = CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceSet', $this->_sid, 'financial_type_id', 'id');
}
if (!isset($defaults['weight']) || !$defaults['weight']) {
$fieldValues = ['price_field_id' => $this->_fid];
$fieldArray[$name] = $fields[$name];
if ($fieldDAO->field_name == 'phone_and_ext') {
- $phoneExtField = str_replace('phone', 'phone_ext', $name);;
+ $phoneExtField = str_replace('phone', 'phone_ext', $name);
$fieldArray[$phoneExtField] = $fields[$phoneExtField];
}
$hasRelative = TRUE;
}
if ($formValue[0] === $relativeFieldName && empty($formValue[2])) {
- unset($formValues[$index]);;
+ unset($formValues[$index]);
}
elseif (in_array($formValue[0], $fieldPossibilities)) {
if ($isRelative) {
case 'greater':
$from['d'] = 1;
- $from['M'] = $now['mon'];;
+ $from['M'] = $now['mon'];
$from['Y'] = $now['year'];
unset($to);
break;
case 'current':
$from['d'] = 1;
- $from['M'] = $now['mon'];;
+ $from['M'] = $now['mon'];
$from['Y'] = $now['year'];
$to['d'] = $now['mday'];
$to['M'] = $now['mon'];
case 'greater':
$from['d'] = $now['mday'];
- $from['M'] = $now['mon'];;
+ $from['M'] = $now['mon'];
$from['Y'] = $now['year'];
unset($to);
break;
<table class="form-layout">
<tr>
<td width="20%" class="font-size11pt" style="vertical-align: top;">{$group.show} {$group.title}</td>
- <td width="80%" style="white-space: nowrap;;">
+ <td width="80%" style="white-space: nowrap;">
<table class="form-layout" width="100%">
<tr>
cj("#" + blockName + '-Primary-html').show( );
}
- var dataUrl = {/literal}"{crmURL h=0 q='snippet=4'}"{literal} + '&block=' + blockName + '&count=' + currentInstance;;
+ var dataUrl = {/literal}"{crmURL h=0 q='snippet=4'}"{literal} + '&block=' + blockName + '&count=' + currentInstance;
if ( className == 'CRM_Event_Form_ManageEvent_Location' ) {
dataUrl = ( currentInstance <= 2 ) ? dataUrl + '&subPage=Location' : '';
// 5. Record the additional amount which $40 ($50-$10)
// Expected : Check the amount of new Financial Item created is $40
$this->createParticipantRecordsFromTwoFieldPriceSet();
- $priceSetBlock = CRM_Price_BAO_PriceSet::getSetDetail($this->_ids['price_set'], TRUE, FALSE)[$this->_ids['price_set']]['fields'];;
+ $priceSetBlock = CRM_Price_BAO_PriceSet::getSetDetail($this->_ids['price_set'], TRUE, FALSE)[$this->_ids['price_set']]['fields'];
$priceSetParams = [
'priceSetId' => $this->_ids['price_set'],
$this->_ut->assertContains($string, $mail, "$string . not found in $mail $prefix");
}
foreach ($absentStrings as $string) {
- $this->_ut->assertEmpty(strstr($mail, $string), "$string incorrectly found in $mail $prefix");;
+ $this->_ut->assertEmpty(strstr($mail, $string), "$string incorrectly found in $mail $prefix");
}
return $mail;
}
$testedCheck = [];
}
}
- $this->assertEquals($testedCheck['is_visible'], '0', 'in line ' . __LINE__);;
+ $this->assertEquals($testedCheck['is_visible'], '0', 'in line ' . __LINE__);
}
/**