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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9558 - (hide annotations)
Tue Sep 22 16:48:00 2020 UTC (4 years, 4 months ago) by softime
Original Path: branches/4.14.0-develop_ajout_dossier_commune/obj/commune.class.php
File size: 659 byte(s)
* Correction des erreurs PHP

1 mbideau 9470 <?php
2     //$Id$
3     //gen openMairie le 20/08/2020 15:43
4    
5     require_once "../gen/obj/commune.class.php";
6    
7 mbideau 9528 require_once __DIR__ . '/trait_date_valid.php';
8 mbideau 9521
9 mbideau 9470 class commune extends commune_gen {
10 mbideau 9528 use date_valid;
11 softime 9558
12     /**
13     *
14     * @return void
15     */
16     function setvalF($val = array()) {
17     parent::setvalF($val);
18    
19     // Évite une notice PHP sur le champ om_validite_debut qui n'est pas disponible
20     // dans $this->valF
21     if ($val['om_validite_debut'] != "") {
22     $this->valF['om_validite_debut'] = $this->dateDB($val['om_validite_debut']);
23     } else {
24     $this->valF['om_validite_debut'] = NULL;
25     }
26     }
27 mbideau 9470 }

Properties

Name Value
svn:executable *

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26