dolibarr/htdocs/includes/modules/modFournisseur.class.php

78 lines
1.7 KiB
PHP
Raw Normal View History

2003-09-14 12:34:31 +02:00
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
* $Source$
*
*/
2003-11-13 16:09:12 +01:00
include_once "DolibarrModules.class.php";
2003-09-14 12:34:31 +02:00
2003-11-13 16:09:12 +01:00
class modFournisseur extends DolibarrModules
2003-09-14 12:34:31 +02:00
{
/** Initialisation de l'objet
*
*
*/
Function modFournisseur($DB)
{
2003-11-13 16:09:12 +01:00
$this->db = $DB ;
$this->numero = 40 ;
2003-09-14 12:34:31 +02:00
$this->nom = "Module fournisseur";
2003-11-13 16:09:12 +01:00
$this->name = "Fournisseur";
$this->description = "Gestion des fournisseurs";
$this->const_name = "MAIN_MODULE_FOURNISSEUR";
$this->const_config = MAIN_MODULE_FOURNISSEUR;
$this->depends = array("modSociete");
2003-09-14 12:34:31 +02:00
$this->const = array();
$this->boxes = array();
2004-01-27 16:49:30 +01:00
$this->boxes[0][0] = "Derniers founisseurs";
$this->boxes[0][1] = "box_fournisseurs.php";
2003-09-14 12:34:31 +02:00
}
2003-11-13 16:09:12 +01:00
/**
* initialisation du module
2003-09-14 12:34:31 +02:00
*
*
*/
Function init()
{
/*
* Permissions
*/
$sql = array();
return $this->_init($sql);
}
/** suppression du module
*
*
*/
Function remove()
{
$sql = array();
return $this->_remove($sql);
}
}
?>