<?php
//$Id$ 
//gen openMairie le 25/03/2024 14:46

require_once "../gen/obj/extra_data_register_values.class.php";

class extra_data_register_values extends extra_data_register_values_gen {

    function setvalF($val = array()) {
        foreach(array('int', 'str', 'text', 'json', 'blob', 'timestamp') as $type) {
            $key = "value_$type";
            if (! isset($val[$key])) {
                $val[$key] = null;
            }
        }
        return parent::setValF($val);
    }
}
