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

Diff of /trunk/obj/consultation.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 489 by vpihour, Thu Oct 11 08:27:21 2012 UTC revision 494 by vpihour, Thu Oct 11 14:25:08 2012 UTC
# Line 98  class consultation extends consultation_ Line 98  class consultation extends consultation_
98              $jour = $jourmax;              $jour = $jourmax;
99          return $annee."-".$mois."-".$jour ;          return $annee."-".$mois."-".$jour ;
100      }      }
101            
102            //Date du jour par défaut dans le champ "date d'envoi"
103            function setVal(&$form, $maj, $validation, &$db, $DEBUG=null){
104                    parent::setVal($form, $maj, $validation, $db, $DEBUG=null);
105                    if ($validation==0) {
106                            if ($maj == 0){
107                                    $form->setVal("date_envoi", date('Y-m-d'));
108                            }
109                    }
110            }
111            
112  }// fin classe  }// fin classe
113  ?>  ?>

Legend:
Removed from v.489  
changed lines
  Added in v.494

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26