Code Cleaning #0002022: Utilisation d'un autoloader

This commit is contained in:
sparkyx 2021-06-20 10:55:55 +02:00
parent 7e4bb86959
commit 5e4b39edbe
404 changed files with 255 additions and 1156 deletions

View file

@ -23,7 +23,6 @@
* @file
* @brief Layer above Tmp_Pcmn_Sql
*/
require_once NOALYSS_INCLUDE."/lib/data_sql.class.php";
require_once NOALYSS_INCLUDE."/database/tmp_pcmn_sql.class.php";
/**
* @brief this class is above tmp_pcmn_sql and is a view of tmp_pcmn

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_action_gestion_comment_sql.php

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_action_gestion_sql.php

View file

@ -23,7 +23,6 @@
* @brief Class to manage distribution keys for SQL.
*
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
/**

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_attr_def_sql.php

View file

@ -20,8 +20,6 @@
*/
// Copyright (2002-2020) Author Dany De Bontridder <danydb@noalyss.eu>
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_contact_option_ref_sql.php

View file

@ -19,8 +19,6 @@
*/
// Copyright (2018) Author Dany De Bontridder <dany@alchimerys.be>
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_currency_history_sql.php

View file

@ -19,8 +19,6 @@
*/
// Copyright (2018) Author Dany De Bontridder <dany@alchimerys.be>
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_currency_sql.php

View file

@ -23,7 +23,6 @@
*
* @author dany
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
class Default_Menu_SQL extends Table_Data_SQL
{

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_attr_def_sql.php

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_document_type_sql.php

View file

@ -23,8 +23,6 @@
* @brief Manage the table public.fiche_def_ref , which concerns the template of
* category of card
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* @class

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE . '/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE . '/class/database.class.php';
/**

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_forecast_item_sql.php

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE . '/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE . '/class/database.class.php';
/**

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_form_detail_sql.php

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_form_detail_sql.php

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_jrn_def_sql.php

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**

View file

@ -25,9 +25,7 @@
*
*
*/
require_once NOALYSS_INCLUDE.'/class/database.class.php';
require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
/**
* @brief Manage the table public.menu_ref

View file

@ -17,8 +17,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_operation_currency_sql.php

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* @file

View file

@ -28,9 +28,7 @@
*
* @class
* @brief abstract of the table public.poste_analytique */
require_once NOALYSS_INCLUDE.'/class/database.class.php';
require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
class Poste_analytique_SQL extends Table_Data_SQL
{

View file

@ -28,9 +28,7 @@
@endcode
*/
require_once NOALYSS_INCLUDE.'/class/database.class.php';
require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
/**
* @brief Manage the table public.profile_menu

View file

@ -28,9 +28,7 @@
@endcode
*/
require_once NOALYSS_INCLUDE.'/class/database.class.php';
require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
/**
* @brief Manage the table public.profile

View file

@ -25,7 +25,6 @@
* @brief
*
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
class Stock_Goods_Sql extends Table_Data_SQL
{

View file

@ -25,7 +25,6 @@
* @brief
*
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
class Stock_Sql extends Table_Data_SQL {
function __construct($cn,$p_id=-1)

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**

View file

@ -1,7 +1,5 @@
<?php
require_once NOALYSS_INCLUDE.'/class/database.class.php';
require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
/*
* This file is part of NOALYSS.
*

View file

@ -24,7 +24,6 @@
* @brief
*
*/
require_once NOALYSS_INCLUDE."/lib/table_data_sql.class.php";
class Tmp_Pcmn_SQL extends Table_Data_SQL
{

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_tva_rate_sql.php

View file

@ -19,8 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* author : Dec 2017 , Dany De Bontridder (danydb@noalyss.eu)
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_user_filter_sql.php

View file

@ -19,8 +19,6 @@
*/
// Copyright (2018) Author Dany De Bontridder <dany@alchimerys.be>
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_currency_history_sql.php

View file

@ -18,8 +18,6 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/table_data_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_tva_rate_sql.php