noalyss Version-9
action_gestion_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_sql.php
24 *
25 * @file
26 * @brief abstract of the table public.action_gestion */
27
28
29/**
30 * @class Action_Gestion_SQL
31 * @brief ORM public.action_gestion
32 */
33
35{
36
37 function __construct(DatabaseCore $p_cn, $p_id=-1)
38 {
39 $this->table="public.action_gestion";
40 $this->primary_key="ag_id";
41 /*
42 * List of columns
43 */
44 $this->name=array(
45 "ag_id"=>"ag_id"
46 , "ag_type"=>"ag_type"
47 , "f_id_dest"=>"f_id_dest"
48 , "ag_title"=>"ag_title"
49 , "ag_timestamp"=>"ag_timestamp"
50 , "ag_ref"=>"ag_ref"
51 , "ag_hour"=>"ag_hour"
52 , "ag_priority"=>"ag_priority"
53 , "ag_dest"=>"ag_dest"
54 , "ag_owner"=>"ag_owner"
55 , "ag_contact"=>"ag_contact"
56 , "ag_state"=>"ag_state"
57 , "ag_remind_date"=>"ag_remind_date"
58 );
59 /*
60 * Type of columns
61 */
62 $this->type=array(
63 "ag_id"=>"numeric"
64 , "ag_type"=>"numeric"
65 , "f_id_dest"=>"numeric"
66 , "ag_title"=>"text"
67 , "ag_timestamp"=>"timestamp without time zone"
68 , "ag_ref"=>"text"
69 , "ag_hour"=>"text"
70 , "ag_priority"=>"numeric"
71 , "ag_dest"=>"numeric"
72 , "ag_owner"=>"text"
73 , "ag_contact"=>"numeric"
74 , "ag_state"=>"numeric"
75 , "ag_remind_date"=>"date"
76 );
77
78
79 $this->default=array(
80 "ag_id"=>"auto",
81 "ag_timestamp"=>"auto"
82 );
83
84 $this->date_format="DD.MM.YYYY";
85 parent::__construct($p_cn, $p_id);
86 }
87
88}
$from_poste name
$input_from type
Definition: balance.inc.php:65
ORM public.action_gestion.
__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