noalyss Version-10
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
otp_send_secret_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 */
21require_once NOALYSS_INCLUDE . '/lib/data_sql.class.php';
22require_once NOALYSS_INCLUDE . '/class/database.class.php';
23
24/**
25 * @file
26 * @brief abstract of the table public.otp_send_secret
27 */
28
29/**
30 * @class Otp_Send_Secret_SQL
31 * @brief abstract of the table public.otp_send_secret
32 */
34
35 function __construct(Database $p_cn, $p_id = -1) {
36 $this->table = "public.otp_send_secret";
37 $this->primary_key = "os_id";
38 /*
39 * List of columns
40 */
41 $this->name = array(
42 "os_id" => "os_id"
43 , "os_timestamp" => "os_timestamp"
44 , "os_request" => "os_request"
45 , "use_id" => "use_id"
46 , 'os_valid_time'=>'os_valid_time'
47 ,'os_code'=>'os_code'
48 );
49
50 /*
51 * Type of columns
52 */
53 $this->type = array(
54 "os_id" => "numeric"
55 , "os_timestamp" => "date"
56 , "os_request" => "text"
57 , "use_id" => "numeric"
58 , 'os_valid_time'=>'date'
59 ,'os_code'=>'text'
60 );
61
62 $this->default = array("os_id" => "auto", "os_timestamp" => "auto");
63
64 $this->date_format = "DD.MM.YYYY HH24:MI:SS";
65 parent::__construct($p_cn, $p_id);
66 }
67}
$from_poste name
$input_from type
contains the class for connecting to Noalyss
abstract of the table public.otp_send_secret
__construct(Database $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