public function get_submitted_data() {
        $data = parent::get_submitted_data();
        if (is_object($data)) {
            foreach (static::$fieldstoremove as $field) {
                unset($data->{$field});
            }
            $data = static::convert_fields($data);
        }
        return $data;
    }
public function get_submitted_data() {
        $data = parent::get_submitted_data();
        if (is_object($data)) {
            foreach (static::$fieldstoremove as $field) {
                unset($data->{$field});
            }
            $data = static::convert_fields($data);
        }
        return $data;
    }
public function get_submitted_data ( ) { $ data = parent :: get_submitted_data ( ) ; if ( is_object ( $ data ) ) { foreach ( static :: $ fieldstoremove as $ field ) { unset ( $ data -> { $ field } ) ; } $ data = static :: convert_fields ( $ data ) ; } return $ data ; }
Get the submitted form data.

Conveniently removes non-desired properties.

@return object|null
Get the submitted form data .