<?php
/* $Id: DP.class.php,v 1.6 2009-03-28 15:44:04 fraynaud1 Exp $
*/
require_once ("dossier.class.php");

class DP extends dossier{

    var $nature="DP";
    var $aff_depot = "collapsible";
    var $aff_travaux = "collapsible";
    var $aff_instruction = "collapsible";
    var $aff_demandeur = "startClosed";
    var $aff_delegataire = "startClosed";
    var $aff_terrain = "startClosed";
    var $aff_localisation = "collapsible";
    var $aff_description = "startClosed";
    var $aff_amenagement = "startClosed";

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

    function setVal(&$form,$maj,$validation){
        parent::setVal($form,$maj,$validation);
        $form->setVal('nature', 'DP');
    }

    function setType(&$form,$maj) {
        parent::setType($form,$maj);
        $form->setType('nature', 'hidden');
    }

}// fin de classe
?>