OEModule\PatientTicketing\widgets\TicketAssignAppointment::extractFormData PHP Method

extractFormData() public method

Extract form data for storing in assignment table.
public extractFormData ( $form_data ) : array | void
$form_data
return array | void
    public function extractFormData($form_data)
    {
        $res = array();
        foreach (array('appointment_date', 'appointment_time') as $k) {
            $res[$k] = @$form_data[$k];
        }
        return $res;
    }