/[openfoncier]/trunk/obj/PD.class.php
ViewVC logotype

Contents of /trunk/obj/PD.class.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 470 - (show annotations)
Wed Oct 3 16:35:50 2012 UTC (12 years, 4 months ago) by nhaye
File size: 943 byte(s)
Modification des surcharge de la classe dossier afin que la nature soit automatique

1 <?php
2 /* $Id: PD.class.php,v 1.9 2009-03-28 15:44:04 fraynaud1 Exp $
3 */
4 require_once ("dossier.class.php");
5
6 class PD extends dossier{
7
8 var $nature="PD";
9 //var $acces_sig='Non';
10 var $aff_depot = "collapsible";
11 var $aff_travaux = "collapsible";
12 var $aff_instruction = "collapsible";
13 var $aff_demandeur = "startClosed";
14 var $aff_delegataire = "startClosed";
15 var $aff_terrain = "startClosed";
16 var $aff_localisation = "collapsible";
17 var $aff_description = "startClosed";
18 var $aff_amenagement = "startClosed";
19
20
21 function PD($id,&$db,$DEBUG) {
22 $this->constructeur($id,$db,$DEBUG);
23 } // fin constructeur
24
25 function setVal(&$form,$maj,$validation){
26 parent::setVal($form,$maj,$validation);
27 $form->setVal('nature', 'PD');
28 }
29
30 function setType(&$form,$maj) {
31 parent::setType($form,$maj);
32 $form->setType('nature', 'hidden');
33 }
34
35
36 }// fin de classe
37 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26