public function sanitizeValues(&$values, $field)
    {
        $values = $field->getValue();

        if ($field->hasChildren()) {
            $field->getChildren()->getSanitizedValues($values);
        }
    }
public function sanitizeValues(&$values, $field)
    {
        $values = $field->getValue();

        if ($field->hasChildren()) {
            $field->getChildren()->getSanitizedValues($values);
        }
    }
public function sanitizeValues ( & $ values , $ field ) { $ values = $ field -> getValue ( ) ; if ( $ field -> hasChildren ( ) ) { $ field -> getChildren ( ) -> getSanitizedValues ( $ values ) ; } }
Sanitize field values with field.

@param  mixed &$values
@param  Field $field
Sanitize field values with field .