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

class reduction_enfeu extends operation {

    var $categorie= 'reduction_enfeu';

    // concession

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


    function setSelect(&$form, $maj,&$db,$debug) {
        parent::setSelect($form, $maj,$db,$debug);
        if($maj<2){

            // concession
            $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]="concession";
            $form->setSelect("famille",$contenu);
        }
    }




}// fin classe
?>