noalyss Version-9
acc_other_tax_sql.class.php
Go to the documentation of this file.
1<?php
2/*
3* This file is part of NOALYSS.
4*
5* NOALYSS is free software; you can redistribute it and/or modify
6* it under the terms of the GNU General Public License as published by
7* the Free Software Foundation; either version 2 of the License, or
8* (at your option) any later version.
9*
10* NOALYSS is distributed in the hope that it will be useful,
11* but WITHOUT ANY WARRANTY; without even the implied warranty of
12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13* GNU General Public License for more details.
14*
15* You should have received a copy of the GNU General Public License
16* along with NOALYSS; if not, write to the Free Software
17* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18*/
19/**
20 * class_action_gestion_sql.php
21 *
22 * @file
23 * @brief abstract of the table public.action_gestion */
24
25
26/**
27 * @class Acc_Other_Tax_SQL
28 * @brief ORM public.acc_other_tax
29 */
30
32{
33
34 function __construct(DatabaseCore $p_cn, $p_id=-1)
35 {
36 $this->table="public.acc_other_tax";
37 $this->primary_key="ac_id";
38 /*
39 * List of columns
40 */
41 $this->name=array(
42 "ac_id"=>"ac_id",
43 "ac_label"=>"ac_label",
44 "ac_rate"=>"ac_rate",
45 "ajrn_def_id"=>"ajrn_def_id",
46 "ac_accounting"=>"ac_accounting"
47 );
48 /*
49 * Type of columns
50 */
51 $this->type=array(
52 "ac_id"=>"numeric",
53 "ac_label"=>"text",
54 "ac_rate"=>"numeric",
55 "ajrn_def_id"=>"array",
56 "ac_accounting"=>"text"
57 );
58
59
60 $this->default=array(
61 "ac_id"=>"auto"
62
63 );
64 parent::__construct($p_cn, $p_id);
65 }
66
67}
$from_poste name
$input_from type
Definition: balance.inc.php:65
ORM public.acc_other_tax.
__construct(DatabaseCore $p_cn, $p_id=-1)
This class allow you to connect to the postgresql database, execute sql, retrieve data.
Interface : this wrapper is used to created easily a wrapper to a table (ORM) You must create a class...
$all table