protected function WebformCivicrmBase::getData in Webform CiviCRM Integration 8.5
Parameters
string $fid:
mixed $default:
bool $strict:
Return value
mixed
4 calls to WebformCivicrmBase::getData()
- WebformCivicrmPostProcess::tallyLineItems in src/
WebformCivicrmPostProcess.php - Calculate line-items for this webform submission
- WebformCivicrmPreProcess::addResources in src/
WebformCivicrmPreProcess.php - Add necessary js & css to the form
- WebformCivicrmPreProcess::loadMemberships in src/
WebformCivicrmPreProcess.php - Load existing membership information and display a message to members.
- WebformCivicrmPreProcess::populateEvents in src/
WebformCivicrmPreProcess.php - Check if events are open to registration and take appropriate action
File
- src/
WebformCivicrmBase.php, line 696 - Front-end form handler base class.
Class
- WebformCivicrmBase
- Class WebformCivicrmBase
Namespace
Drupal\webform_civicrmCode
protected function getData($fid, $default = NULL, $strict = FALSE) {
if ($pieces = \Drupal::service('webform_civicrm.utils')
->wf_crm_explode_key($fid)) {
list(, $c, $ent, $n, $table, $name) = $pieces;
return wf_crm_aval($this->data, "{$ent}:{$c}:{$table}:{$n}:{$name}", $default, $strict);
}
}