You are here

protected function wf_crm_webform_base::getData in Webform CiviCRM Integration 7.4

Same name and namespace in other branches
  1. 7.5 includes/wf_crm_webform_base.inc \wf_crm_webform_base::getData()

Parameters

string $fid:

mixed $default:

bool $strict:

Return value

mixed

4 calls to wf_crm_webform_base::getData()
wf_crm_webform_postprocess::tallyLineItems in includes/wf_crm_webform_postprocess.inc
Calculate line-items for this webform submission
wf_crm_webform_preprocess::addResources in includes/wf_crm_webform_preprocess.inc
Add necessary js & css to the form
wf_crm_webform_preprocess::loadMemberships in includes/wf_crm_webform_preprocess.inc
Load existing membership information and display a message to members.
wf_crm_webform_preprocess::populateEvents in includes/wf_crm_webform_preprocess.inc
Check if events are open to registration and take appropriate action

File

includes/wf_crm_webform_base.inc, line 837

Class

wf_crm_webform_base
Class wf_crm_webform_base

Code

protected function getData($fid, $default = NULL, $strict = FALSE) {
  if ($pieces = 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);
  }
}