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

Contents of /trunk/sql/pgsql/direction.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: 1571 byte(s)
Actualisation du trunk
1 <?php
2 //$Id$
3 //gen openMairie le 14/04/2015 22:08
4
5 $import= "Insertion dans la table direction voir rec/import_utilisateur.inc";
6 $table= DB_PREFIXE."direction";
7 $id='direction'; // 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 "direction" => array(
16 "notnull" => "1",
17 "type" => "int",
18 "len" => "11",
19 ),
20 "code" => array(
21 "notnull" => "1",
22 "type" => "string",
23 "len" => "20",
24 ),
25 "libelle" => array(
26 "notnull" => "1",
27 "type" => "string",
28 "len" => "100",
29 ),
30 "description" => array(
31 "notnull" => "",
32 "type" => "blob",
33 "len" => "-5",
34 ),
35 "chef" => array(
36 "notnull" => "1",
37 "type" => "string",
38 "len" => "100",
39 ),
40 "om_validite_debut" => array(
41 "notnull" => "",
42 "type" => "date",
43 "len" => "12",
44 ),
45 "om_validite_fin" => array(
46 "notnull" => "",
47 "type" => "date",
48 "len" => "12",
49 ),
50 "om_collectivite" => array(
51 "notnull" => "1",
52 "type" => "int",
53 "len" => "11",
54 "fkey" => array(
55 "foreign_table_name" => "om_collectivite",
56 "foreign_column_name" => "om_collectivite",
57 "sql_exist" => "select * from ".DB_PREFIXE."om_collectivite where om_collectivite = '",
58 ),
59 ),
60 );
61 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26