noalyss Version-9
action_gestion_comment_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_action_gestion_comment_sql.php
24 *
25 * @file
26 * @brief abstract of the table public.action_gestion_comment */
27
28/**
29 * @class Action_Gestion_Comment_SQL
30 * @brief ORM SQL Action_Gestion_Comment
31 */
32
34{
35
36 function __construct(DatabaseCore $p_cn, $p_id=-1)
37 {
38 $this->table="public.action_gestion_comment";
39 $this->primary_key="agc_id";
40 /*
41 * List of columns
42 */
43 $this->name=array(
44 "agc_id"=>"agc_id"
45 , "ag_id"=>"ag_id"
46 , "agc_date"=>"agc_date"
47 , "agc_comment"=>"agc_comment"
48 , "tech_user"=>"tech_user"
49 );
50 /*
51 * Type of columns
52 */
53 $this->type=array(
54 "agc_id"=>"numeric"
55 , "ag_id"=>"numeric"
56 , "agc_date"=>"timestamp with time zone"
57 , "agc_comment"=>"text"
58 , "tech_user"=>"text"
59 );
60
61
62 $this->default=array(
63 "agc_id"=>"auto",
64 "agc_date"=>"auto"
65 );
66
67 $this->date_format="DD.MM.YYYY";
68 parent::__construct($p_cn, $p_id);
69 }
70
71}
$from_poste name
$input_from type
Definition: balance.inc.php:65
__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