noalyss Version-9
jrn_def_sql.class.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
22/**
23 * class_jrn_def_sql.php
24 *
25 * @file
26 * @brief abstract of the table public.jrn_def */
27 /**
28 * @class Jrn_def_SQL
29 * @brief ORM abstract of the table public.jrn_def */
31{
32
33 function __construct(DatabaseCore $p_cn, $p_id=-1)
34 {
35 $this->table="public.jrn_def";
36 $this->primary_key="jrn_def_id";
37 /*
38 * List of columns
39 */
40 $this->name=array(
41 "jrn_def_id"=>"jrn_def_id"
42 , "jrn_def_name"=>"jrn_def_name"
43 , "jrn_def_class_deb"=>"jrn_def_class_deb"
44 , "jrn_def_class_cred"=>"jrn_def_class_cred"
45 , "jrn_def_fiche_deb"=>"jrn_def_fiche_deb"
46 , "jrn_def_fiche_cred"=>"jrn_def_fiche_cred"
47 , "jrn_deb_max_line"=>"jrn_deb_max_line"
48 , "jrn_cred_max_line"=>"jrn_cred_max_line"
49 , "jrn_def_ech"=>"jrn_def_ech"
50 , "jrn_def_ech_lib"=>"jrn_def_ech_lib"
51 , "jrn_def_type"=>"jrn_def_type"
52 , "jrn_def_code"=>"jrn_def_code"
53 , "jrn_def_pj_pref"=>"jrn_def_pj_pref"
54 , "jrn_def_bank"=>"jrn_def_bank"
55 , "jrn_def_num_op"=>"jrn_def_num_op"
56 , "jrn_def_description"=>"jrn_def_description"
57 , "jrn_enable"=>"jrn_enable"
58 , "currency_id"=>"currency_id"
59 , "jrn_def_negative_amount"=>"jrn_def_negative_amount"
60 , "jrn_def_negative_warning"=>"jrn_def_negative_warning"
61 , 'jrn_def_quantity'=>'jrn_def_quantity'
62 );
63 /*
64 * Type of columns
65 */
66 $this->type=array(
67 "jrn_def_id"=>"numeric"
68 , "jrn_def_name"=>"text"
69 , "jrn_def_class_deb"=>"text"
70 , "jrn_def_class_cred"=>"text"
71 , "jrn_def_fiche_deb"=>"text"
72 , "jrn_def_fiche_cred"=>"text"
73 , "jrn_deb_max_line"=>"numeric"
74 , "jrn_cred_max_line"=>"numeric"
75 , "jrn_def_ech"=>"boolean"
76 , "jrn_def_ech_lib"=>"text"
77 , "jrn_def_type"=>"text"
78 , "jrn_def_code"=>"text"
79 , "jrn_def_pj_pref"=>"text"
80 , "jrn_def_bank"=>"numeric"
81 , "jrn_def_num_op"=>"numeric"
82 , "jrn_def_description"=>"text"
83 , "jrn_enable"=>"numeric"
84 , "currency_id"=>"numeric"
85 , "jrn_def_negative_amount"=>"text"
86 ,"jrn_def_negative_warning"=>"text"
87 ,'jrn_def_quantity'=>"numeric"
88 );
89
90 $this->default=array(
91 "jrn_def_id"=>"auto");
92
93 $this->date_format="DD.MM.YYYY";
94 parent::__construct($p_cn, $p_id);
95 }
96
97}
$from_poste name
$input_from type
Definition: balance.inc.php:65
This class allow you to connect to the postgresql database, execute sql, retrieve data.
ORM abstract of the table public.jrn_def.
__construct(DatabaseCore $p_cn, $p_id=-1)
Interface : this wrapper is used to created easily a wrapper to a table (ORM) You must create a class...
$all table