noalyss Version-9
parm_periode_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/**
24 * class_parm_periode_sql.php
25 *
26 *@file
27 *@brief Manage the table public.parm_periode
28 */
29
30/**
31 * @class Parm_periode_SQL
32 * @brief ORM Manage the table public.parm_periode
33 */
35{
36
37function __construct(DatabaseCore $p_cn,$p_id=-1)
38 {
39 $this->table = "public.parm_periode";
40 $this->primary_key = "p_id";
41/*
42 * List of columns
43 */
44 $this->name=array(
45 "p_id"=>"p_id"
46 ,"p_start"=>"p_start"
47 ,"p_end"=>"p_end"
48 ,"p_exercice"=>"p_exercice"
49 ,"p_exercice_label"=>"p_exercice_label"
50 ,"p_closed"=>"p_closed"
51 ,"p_central"=>"p_central"
52 );
53/*
54 * Type of columns
55 */
56 $this->type = array(
57 "p_id"=>"numeric"
58 ,"p_start"=>"date"
59 ,"p_end"=>"date"
60 ,"p_exercice"=>"text"
61 ,"p_exercice_label"=>"text"
62 ,"p_closed"=>"boolean"
63 ,"p_central"=>"boolean"
64 );
65
66
67 $this->default = array(
68 "p_id" => "auto"
69 );
70
71 $this->date_format = "DD.MM.YYYY";
72 parent::__construct($p_cn,$p_id);
73 }
74
75
76}
$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 Manage the table public.parm_periode.
__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