Plugins  LAST
 All Data Structures Files Functions Variables Pages
class_impcard_format_sql.php
Go to the documentation of this file.
1 <?php
2 
3 /**
4  * Autogenerated file
5  * This file is part of NOALYSS.
6  *
7  * NOALYSS is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * NOALYSS is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with NOALYSS; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20  */
21 require_once NOALYSS_INCLUDE.'/database/class_noalyss_sql.php';
22 require_once NOALYSS_INCLUDE.'/lib/class_database.php';
23 
24 /**
25  * class_format_sql.php
26  *
27  * @file
28  * @brief abstract of the table importcard.format */
29 class Importcard_Format_SQL extends Noalyss_SQL
30 {
31 
32  function __construct(Database $p_cn, $p_id=-1)
33  {
34  $this->table="importcard.format";
35  $this->primary_key="id";
36  /*
37  * List of columns
38  */
39  $this->name=array(
40  "id"=>"id"
41  , "f_name"=>"f_name"
42  , "f_card_category"=>"f_card_category"
43  , "f_skiprow"=>"f_skiprow"
44  , "f_delimiter"=>"f_delimiter"
45  , "f_surround"=>"f_surround"
46  , "f_unicode_encoding"=>"f_unicode_encoding"
47  , "f_position"=>"f_position"
48  , "f_saved"=>"f_saved"
49  );
50  /*
51  * Type of columns
52  */
53  $this->type=array(
54  "id"=>"numeric"
55  , "f_name"=>"text"
56  , "f_card_category"=>"numeric"
57  , "f_skiprow"=>"numeric"
58  , "f_delimiter"=>"text"
59  , "f_surround"=>"text"
60  , "f_unicode_encoding"=>"text"
61  , "f_position"=>"text"
62  , "f_saved"=>"numeric"
63  );
64 
65 
66  $this->default=array(
67  "id"=>"auto"
68  );
69 
70  $this->date_format="DD.MM.YYYY";
71  parent::__construct($p_cn, $p_id);
72  }
73 
74 }
$categorie_appel table
$categorie_appel name
__construct(Database $p_cn, $p_id=-1)