noalyss Version-9
tmp_pcmn_sql.class.php
Go to the documentation of this file.
1<?php
2
3/*
4 * Copyright (C) 2017 Dany De Bontridder <dany@alchimerys.be>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 */
20
21
22/**
23 * @file
24 * @brief abstract of the table public.tmp_pcmn
25 *
26 */
27 /**
28 * @class Tmp_Pcmn_SQL
29 *
30 * @brief ORM abstract of the table public.tmp_pcmn
31 */
33{
34
35 /**
36 * @brief manage table key_distribution_detail
37 */
38 function __construct($p_cn, $p_id=-1)
39 {
40
41 $this->table="public.tmp_pcmn";
42 $this->primary_key="id";
43
44 $this->name=array(
45 "id"=>"id",
46 "pcm_val"=>"pcm_val",
47 "pcm_type"=>"pcm_type",
48 "pcm_val_parent"=>"pcm_val_parent",
49 "pcm_lib"=>"pcm_lib",
50 "pcm_direct_use"=>"pcm_direct_use"
51 );
52
53 $this->type=array(
54 "id"=>"numeric",
55 "pcm_val"=>"text",
56 "pcm_type"=>"text",
57 "pcm_val_parent"=>"text",
58 "pcm_lib"=>"text",
59 "pcm_direct_use"=>"text"
60 );
61
62 $this->default=array(
63 "id"=>"auto"
64 );
65
66 parent::__construct($p_cn, $p_id);
67 }
68
69}
$from_poste name
$input_from type
Definition: balance.inc.php:65
Interface : this wrapper is used to created easily a wrapper to a table (ORM) You must create a class...
ORM abstract of the table public.tmp_pcmn.
__construct($p_cn, $p_id=-1)
manage table key_distribution_detail
$all table