noalyss Version-9
form_detail_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_form_detail_sql.php
24 *
25 * @file
26 * @brief abstract of the table public.form_detail */
27 /**
28 * @class Form_Detail_SQL
29 * @brief ORM abstract of the table public.form_detail */
31{
32
33 function __construct(DatabaseCore $p_cn, $p_id=-1)
34 {
35 $this->table="public.form_detail";
36 $this->primary_key="fo_id";
37 /*
38 * List of columns
39 */
40 $this->name=array(
41 "fo_id"=>"fo_id"
42 , "fo_fr_id"=>"fo_fr_id"
43 , "fo_pos"=>"fo_pos"
44 , "fo_label"=>"fo_label"
45 , "fo_formula"=>"fo_formula"
46 );
47 /*
48 * Type of columns
49 */
50 $this->type=array(
51 "fo_id"=>"numeric"
52 , "fo_fr_id"=>"numeric"
53 , "fo_pos"=>"numeric"
54 , "fo_label"=>"text"
55 , "fo_formula"=>"text"
56 );
57
58 $this->default=array(
59 "fo_id"=>"auto"
60 );
61
62 $this->date_format="DD.MM.YYYY";
63 parent::__construct($p_cn, $p_id);
64 }
65
66}
$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.form_detail.
__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