DUF: Declarative Ugly Forms  v0.1-94-g0b7957c
 All Classes Functions Variables Pages
Static Public Member Functions | List of all members
SubmitInput Class Reference

Post-process submit input value (set true when button is used to submit the form) More...

Static Public Member Functions

static valuePreProcess ($default_values, &$raw_values,\Duf::Form $form, $group_id, $field_id, $field_conf)
 Convert input/default value to raw. More...
 
static valuePostProcess ($raw_values, &$group_values,\Duf::Form $form, $group_id, $field_id, $field_conf)
 Convert raw value to output value. More...
 

Detailed Description

Post-process submit input value (set true when button is used to submit the form)

Member Function Documentation

static valuePreProcess (   $default_values,
$raw_values,
\Duf::Form  $form,
  $group_id,
  $field_id,
  $field_conf 
)
static

Convert input/default value to raw.

This method reads default values from $group_values and writes raw values into $raw_values.

See also
valuePostProcess()
static valuePostProcess (   $raw_values,
$group_values,
\Duf::Form  $form,
  $group_id,
  $field_id,
  $field_conf 
)
static

Convert raw value to output value.

This method reads raw values from $raw_values and writes converted values into $group_values.

See also
valuePreProcess()