mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-10 11:02:56 +01:00
Qual: Call static methods as static with no need to create instance
This commit is contained in:
@@ -20,17 +20,17 @@
|
||||
* \file htdocs/includes/modules/export/modules_export.php
|
||||
* \ingroup export
|
||||
* \brief File of parent class for export modules
|
||||
* \version $Id: modules_export.php,v 1.25 2011/08/03 01:38:52 eldy Exp $
|
||||
* \version $Id: modules_export.php,v 1.26 2011/08/27 15:40:11 eldy Exp $
|
||||
*/
|
||||
|
||||
require_once(DOL_DOCUMENT_ROOT.'/lib/functions.lib.php');
|
||||
require_once(DOL_DOCUMENT_ROOT."/core/class/commondocgenerator.class.php");
|
||||
|
||||
|
||||
/**
|
||||
* \class ModeleExports
|
||||
* \brief Parent class for export modules
|
||||
*/
|
||||
class ModeleExports
|
||||
class ModeleExports extends CommondocGenerator // This class can't be abstract as there is instance propreties loaded by liste_modeles
|
||||
{
|
||||
var $error='';
|
||||
|
||||
@@ -41,13 +41,6 @@ class ModeleExports
|
||||
var $libversion=array();
|
||||
|
||||
|
||||
/**
|
||||
* \brief Constructeur
|
||||
*/
|
||||
function ModeleExports()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Charge en memoire et renvoie la liste des modeles actifs
|
||||
* \param db Handler de base
|
||||
|
||||
Reference in New Issue
Block a user