2007-09-27 22:24:43 +00:00
|
|
|
<?php
|
2008-01-03 18:41:32 +00:00
|
|
|
/* Copyright (C) 2003-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
|
|
|
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
|
|
|
|
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
|
2012-12-30 14:13:49 +00:00
|
|
|
* Copyright (C) 2005-2011 Regis Houssin <regis.houssin@capnetworks.com>
|
2007-09-27 22:24:43 +00:00
|
|
|
*
|
|
|
|
|
* 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
|
2013-01-16 14:36:08 +00:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2007-09-27 22:24:43 +00:00
|
|
|
* (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
|
2011-07-31 23:24:38 +00:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2008-01-03 18:41:32 +00:00
|
|
|
* or see http://www.gnu.org/
|
2007-09-27 22:24:43 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
2011-10-24 12:11:49 +00:00
|
|
|
* \file htdocs/core/modules/barcode/modules_barcode.php
|
2010-02-24 16:25:34 +00:00
|
|
|
* \ingroup barcode
|
|
|
|
|
* \brief Fichier contenant la classe mere de generation des codes barres
|
|
|
|
|
*/
|
2012-08-22 21:11:24 +00:00
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions.lib.php';
|
2007-09-27 22:24:43 +00:00
|
|
|
|
|
|
|
|
|
2008-01-03 18:41:32 +00:00
|
|
|
/**
|
2010-02-24 16:25:34 +00:00
|
|
|
* \class ModeleBarCode
|
|
|
|
|
* \brief Classe mere des modeles de code barre
|
|
|
|
|
*/
|
2011-08-28 14:58:29 +00:00
|
|
|
abstract class ModeleBarCode
|
2008-01-03 18:41:32 +00:00
|
|
|
{
|
|
|
|
|
var $error='';
|
|
|
|
|
|
2009-03-25 19:52:59 +00:00
|
|
|
|
2011-08-27 16:15:06 +00:00
|
|
|
/**
|
|
|
|
|
* Return if a module can be used or not
|
2012-03-13 08:38:00 +00:00
|
|
|
*
|
2011-08-27 16:15:06 +00:00
|
|
|
* @return boolean true if module can be used
|
|
|
|
|
*/
|
2009-03-25 19:52:59 +00:00
|
|
|
function isEnabled()
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
2008-01-03 18:41:32 +00:00
|
|
|
}
|
2007-09-27 22:24:43 +00:00
|
|
|
|
2008-01-03 18:41:32 +00:00
|
|
|
?>
|