noalyss Version-9
manager.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
20// Copyright Author Dany De Bontridder danydb@aevalys.eu
21require_once NOALYSS_INCLUDE.'/constant.php';
22require_once NOALYSS_INCLUDE.'/lib/user_common.php';
23/*! \file
24 * \brief Derived from class fiche Supplier are a specific kind of card
25 */
26/*!
27 * \brief class Supplier are a specific kind of card
28 */
29
30// Use the view vw_supplier
31//
32class Manager extends Fiche
33{
34
35 var $poste; /*!< $poste poste comptable */
36 var $name; /*!< $name name of the company */
38 var $street; /*!< $street Street */
39 var $country; /*!< $country Country */
40 var $cp; /*!< $cp Zip code */
41 var $vat_number; /*!< $vat_number vat number */
42
43 /*! \brief Constructor
44 /* only a db connection is needed */
45 function __construct($p_cn,$p_id=0)
46 {
47 $this->fiche_def_ref=FICHE_TYPE_EMPL;
48 parent::__construct($p_cn,$p_id) ;
49
50 }
51
52
53
54
55}
56
57?>
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
Definition: fiche.class.php:38
class Supplier are a specific kind of card
__construct($p_cn, $p_id=0)
Constructor /* only a db connection is needed.
const FICHE_TYPE_EMPL
Definition: constant.php:252