Plugins  LAST
 All Data Structures Files Functions Variables Pages
class_impacc_import_file_sql.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of PhpCompta.
5  *
6  * PhpCompta is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * PhpCompta is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with PhpCompta; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 // Copyright (2016) Author Dany De Bontridder <dany@alchimerys.be>
21 
22 if (!defined('ALLOWED'))
23  die('Appel direct ne sont pas permis');
24 
25 /**
26  * @file
27  * @brief
28  * @param type $name Descriptionara
29  */
30 require_once NOALYSS_INCLUDE.'/database/class_noalyss_sql.php';
31 require_once NOALYSS_INCLUDE.'/lib/class_database.php';
32 
33 
34 /**
35  * class_import_file_sql.php
36  *
37  *@file
38  *@brief abstract of the table impacc.import_file */
39 class Impacc_Import_file_SQL extends Noalyss_SQL
40 {
41 
42 function __construct(Database $p_cn,$p_id=-1)
43  {
44  $this->table = "impacc.import_file";
45  $this->primary_key = "id";
46 /*
47  * List of columns
48  */
49  $this->name=array(
50  "id"=>"id"
51  ,"i_filename"=>"i_filename"
52  ,"i_tmpname"=>"i_tmpname"
53  ,"i_type"=>"i_type"
54  ,"i_date_transfer"=>"i_date_transfer"
55  ,"i_date_import"=>"i_date_import"
56  );
57 /*
58  * Type of columns
59  */
60  $this->type = array(
61  "id"=>"numeric"
62  ,"i_filename"=>"text"
63  ,"i_tmpname"=>"text"
64  ,"i_type"=>"text"
65  ,"i_date_transfer"=>"timestamp without time zone"
66  ,"i_date_import"=>"timestamp without time zone"
67  );
68 
69 
70  $this->default = array(
71  "id" => "auto"
72  );
73 
74  $this->date_format = "DD.MM.YYYY HH:MI:SS";
75  parent::__construct($p_cn,$p_id);
76  }
77 
78 
79 }
80 ?>
__construct(Database $p_cn, $p_id=-1)
$categorie_appel table
$categorie_appel name