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

72 lines
1.5 KiB
PHP
Raw Normal View History

2003-11-07 18:43:32 +01: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-15 18:42:11 +01:00
include_once "DolibarrModules.class.php";
2003-11-07 18:43:32 +01:00
2003-11-15 18:42:11 +01:00
class modDon extends DolibarrModules
2003-11-07 18:43:32 +01:00
{
/*
* Initialisation
*
*/
Function modDon($DB)
{
$this->db = $DB ;
2003-11-15 18:42:11 +01:00
$this->name = "Don";
$this->description = "Gestion des dons (exp<78>rimental)";
$this->const_name = "MAIN_MODULE_DON";
$this->const_config = MAIN_MODULE_DON;
$this->depends = array();
$this->const = array();
$this->boxes = array();
2003-11-07 18:43:32 +01:00
}
/*
*
*
*
*/
Function init()
{
/*
* Activation du module
*/
2003-11-15 18:42:11 +01:00
$sql = array();
2003-11-07 18:43:32 +01:00
2003-11-15 18:42:11 +01:00
return $this->_init($sql);
2003-11-07 18:43:32 +01:00
}
/*
*
*
*/
Function remove()
{
2003-11-15 18:42:11 +01:00
$sql = array();
return $this->_remove($sql);
2003-11-07 18:43:32 +01:00
}
}
?>