<?php
/* $Id: PA.class.php,v 1.6 2008-08-18 14:39:32 jbastide Exp $
*/
require_once ("dossier.class.php");

class PA extends dossier{

    var $nature="PA";
    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 PA($id,&$db,$DEBUG) {
        $this->constructeur($id,$db,$DEBUG);
    } // fin constructeur

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

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

}// fin de classe
?>