<?php
//$Id$
//gen openMairie le 18/10/2011 11:58
require_once ("../obj/inhumation.class.php");

class inhumation_enfeu extends inhumation {

    //var $db;
    var $categorie= 'inhumation';

    function inhumation_enfeu($id,&$db,$DEBUG) {
        $this->constructeur($id,$db,$DEBUG);
    }

    function setSelect(&$form, $maj,&$db,$debug) {
        parent::setSelect($form, $maj,$db,$debug);
        if($maj<2){
            $contenu="";
            $contenu[0][0]="emplacement";
            $contenu[0][1]="emplacement";
            $contenu[1][0]="famille";
            $contenu[1][1]="famille";
            $contenu[2][0]="nature";
            $contenu[2][1]="enfeu";
            $form->setSelect("emplacement",$contenu);

            $contenu="";
            $contenu[0][0]="emplacement";
            $contenu[0][1]="famille";
            $contenu[1][0]="emplacement";
            $contenu[1][1]="emplacement";
            $contenu[2][0]="nature";
            $contenu[2][1]="enfeu";
            $form->setSelect("famille",$contenu);
        }
    }

}// fin classe
?>