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

Annotation of /trunk/obj/statistique.class.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 170 - (hide annotations)
Tue Oct 4 15:54:36 2011 UTC (13 years, 4 months ago) by fraynaud
File size: 716 byte(s)
saisie de parametre et stats/dossier


1 fraynaud 168 <?php
2     //$Id$
3     //gen openMairie le 04/10/2011 15:15
4     require_once ("../gen/obj/statistique.class.php");
5    
6     class statistique extends statistique_gen {
7    
8     function statistique($id,&$db,$debug) {
9     $this->constructeur($id,$db,$debug);
10     }// fin constructeur
11    
12 fraynaud 170 function setType(&$form,$maj) {
13     parent :: setType($form,$maj);
14     if ($maj < 2) { //ajouter et modifier
15     $form->setType('dossier', 'hiddenstatic');
16     }
17     }
18    
19     function setValsousformulaire(&$form,$maj,$validation,$idxformulaire,$retourformulaire,$typeformulaire){
20     if ($validation==0) {
21     if ($maj == 0){
22     $form->setVal("dossier", $idxformulaire);
23     }
24     }
25     }
26    
27 fraynaud 168 }// fin classe
28     ?>

Properties

Name Value
svn:executable *

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26