public extractFormData ( $form_data ) : array | void | ||
$form_data | ||
Résultat | array | void |
public function extractFormData($form_data)
{
$res = array();
foreach (array('outcome', 'followup_quantity', 'followup_period', 'clinic_location') as $k) {
$res[$k] = @$form_data[$k];
}
return $res;
}