noalyss Version-9
admin.class.php
Go to the documentation of this file.
1<?php
2/*
3 * This file is part of NOALYSS.
4 *
5 * NOALYSS is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * NOALYSS is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with NOALYSS; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18*/
19// Copyright Author Dany De Bontridder danydb@aevalys.eu
20require_once NOALYSS_INCLUDE.'/constant.php';
21
22require_once NOALYSS_INCLUDE.'/lib/user_common.php';
23/*! \file
24 * \brief Derived from class fiche Administration are a specific kind of card
25 * concerned only by official (or not) administration
26 */
27/*!
28 * \brief class admin are a specific kind of card
29 */
30
31// Use the view vw_supplier
32//
33class Admin extends Fiche
34{
35
36 var $name; /*!< $name name of the company */
37 var $street; /*!< $street Street */
38 var $country; /*!< $country Country */
39 var $cp; /*!< $cp Zip code */
40 var $vat_number; /*!< $vat_number vat number */
41
42 /*! \brief Constructor
43 /* only a db connection is needed */
44 function __construct($p_cn,$p_id=0)
45 {
46 $this->fiche_def_ref=FICHE_TYPE_ADM_TAX;
47 parent::__construct($p_cn,$p_id) ;
48 }
49
50
51
52}
53
54?>
class admin are a specific kind of card
Definition: admin.class.php:34
__construct($p_cn, $p_id=0)
Constructor /* only a db connection is needed.
Definition: admin.class.php:44
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
Definition: fiche.class.php:38
const FICHE_TYPE_ADM_TAX
Definition: constant.php:253