noalyss Version-9
forecast_item_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_forecast_item_sql.php
24 *
25 * @file
26 * @brief abstract of the table public.forecast_item
27 */
28/**
29 * @class Forecast_Item_SQL
30 * @brief ORM abstract of the table public.forecast_item
31 */
33{
34
35 function __construct(DatabaseCore $p_cn, $p_id=-1)
36 {
37 $this->table="public.forecast_item";
38 $this->primary_key="fi_id";
39 /*
40 * List of columns
41 */
42 $this->name=array(
43 "fi_id"=>"fi_id"
44 , "fi_text"=>"fi_text"
45 , "fi_account"=>"fi_account"
46 , "fi_order"=>"fi_order"
47 , "fc_id"=>"fc_id"
48 , "fi_amount"=>"fi_amount"
49 , "fi_pid"=>"fi_pid"
50 , "fi_amount_initial"=>"fi_amount_initial"
51 );
52 /*
53 * Type of columns
54 */
55 $this->type=array(
56 "fi_id"=>"numeric"
57 , "fi_text"=>"text"
58 , "fi_account"=>"text"
59 , "fi_order"=>"numeric"
60 , "fc_id"=>"numeric"
61 , "fi_amount"=>"numeric"
62 , "fi_pid"=>"numeric"
63 , "fi_amount_initial"=>"numeric"
64 );
65
66
67 $this->default=array(
68 "fi_id"=>"auto"
69 );
70
71 $this->date_format="DD.MM.YYYY";
72 parent::__construct($p_cn, $p_id);
73 }
74
75}
$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.forecast_item.
__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