/[openfoncier]/trunk/sql/pgsql/service.import.inc.php
ViewVC logotype

Contents of /trunk/sql/pgsql/service.import.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3730 - (show annotations)
Fri Mar 18 11:50:26 2016 UTC (8 years, 10 months ago) by mbroquet
File size: 2826 byte(s)
Actualisation du trunk
1 <?php
2 //$Id: service.import.inc.php 4976 2015-07-29 08:46:16Z stimezouaght $
3 //gen openMairie le 29/07/2015 10:34
4
5 $import= "Insertion dans la table service voir rec/import_utilisateur.inc";
6 $table= DB_PREFIXE."service";
7 $id='service'; // numerotation automatique
8 $verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
9 $fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
10 $ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
11 /**
12 *
13 */
14 $fields = array(
15 "abrege" => array(
16 "notnull" => "1",
17 "type" => "string",
18 "len" => "10",
19 ),
20 "libelle" => array(
21 "notnull" => "1",
22 "type" => "string",
23 "len" => "70",
24 ),
25 "adresse" => array(
26 "notnull" => "1",
27 "type" => "string",
28 "len" => "40",
29 ),
30 "adresse2" => array(
31 "notnull" => "1",
32 "type" => "string",
33 "len" => "39",
34 ),
35 "cp" => array(
36 "notnull" => "1",
37 "type" => "string",
38 "len" => "5",
39 ),
40 "ville" => array(
41 "notnull" => "1",
42 "type" => "string",
43 "len" => "30",
44 ),
45 "email" => array(
46 "notnull" => "1",
47 "type" => "string",
48 "len" => "50",
49 ),
50 "delai" => array(
51 "notnull" => "",
52 "type" => "int",
53 "len" => "11",
54 ),
55 "service" => array(
56 "notnull" => "1",
57 "type" => "int",
58 "len" => "11",
59 ),
60 "consultation_papier" => array(
61 "notnull" => "",
62 "type" => "bool",
63 "len" => "1",
64 ),
65 "notification_email" => array(
66 "notnull" => "",
67 "type" => "bool",
68 "len" => "1",
69 ),
70 "om_validite_debut" => array(
71 "notnull" => "",
72 "type" => "date",
73 "len" => "12",
74 ),
75 "om_validite_fin" => array(
76 "notnull" => "",
77 "type" => "date",
78 "len" => "12",
79 ),
80 "type_consultation" => array(
81 "notnull" => "1",
82 "type" => "string",
83 "len" => "70",
84 ),
85 "edition" => array(
86 "notnull" => "1",
87 "type" => "int",
88 "len" => "11",
89 "fkey" => array(
90 "foreign_table_name" => "om_etat",
91 "foreign_column_name" => "om_etat",
92 "sql_exist" => "select * from ".DB_PREFIXE."om_etat where om_etat = '",
93 ),
94 ),
95 "om_collectivite" => array(
96 "notnull" => "1",
97 "type" => "int",
98 "len" => "11",
99 "fkey" => array(
100 "foreign_table_name" => "om_collectivite",
101 "foreign_column_name" => "om_collectivite",
102 "sql_exist" => "select * from ".DB_PREFIXE."om_collectivite where om_collectivite = '",
103 ),
104 ),
105 "delai_type" => array(
106 "notnull" => "",
107 "type" => "string",
108 "len" => "100",
109 ),
110 );
111 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26