[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 15/15: We split Database in DatabaseCore and
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 15/15: We split Database in DatabaseCore and Database |
Date: |
Fri, 5 Feb 2021 11:38:33 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 79ecb68033507be4d8679082a260734e3fe22939
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Fri Feb 5 15:57:13 2021 +0100
We split Database in DatabaseCore and Database
---
include/database/attr_def_sql.class.php | 2 +-
include/database/contact_option_ref_sql.class.php | 2 +-
include/database/document_state_sql.class.php | 2 +-
include/database/document_type_sql.class.php | 2 +-
include/database/fiche_def_ref_sql.class.php | 2 +-
include/database/jrn_def_sql.class.php | 2 +-
include/database/jrn_periode_sql.class.php | 2 +-
include/database/menu_ref_sql.class.php | 2 +-
include/database/op_predef_sql.class.php | 2 +-
include/database/parm_periode_sql.class.php | 2 +-
include/database/payment_method_sql.class.php | 2 +-
include/database/poste_analytique_sql.class.php | 2 +-
include/database/tag_group_sql.class.php | 2 +-
include/database/tva_rate_sql.class.php | 2 +-
include/database/user_filter_sql.class.php | 2 +-
include/database/v_tva_rate_sql.class.php | 2 +-
16 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/include/database/attr_def_sql.class.php
b/include/database/attr_def_sql.class.php
index 450a120..c4160b6 100644
--- a/include/database/attr_def_sql.class.php
+++ b/include/database/attr_def_sql.class.php
@@ -29,7 +29,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Attr_def_SQL extends Noalyss_SQL
{
- function __construct(Database $p_cn, $p_id=-1)
+ function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.attr_def";
$this->primary_key="ad_id";
diff --git a/include/database/contact_option_ref_sql.class.php
b/include/database/contact_option_ref_sql.class.php
index 5e39060..969235f 100644
--- a/include/database/contact_option_ref_sql.class.php
+++ b/include/database/contact_option_ref_sql.class.php
@@ -31,7 +31,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Contact_option_ref_SQL extends Noalyss_SQL
{
- function __construct(Database $p_cn, $p_id=-1)
+ function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.contact_option_ref";
$this->primary_key="cor_id";
diff --git a/include/database/document_state_sql.class.php
b/include/database/document_state_sql.class.php
index 8b6ae7f..a4fbef9 100644
--- a/include/database/document_state_sql.class.php
+++ b/include/database/document_state_sql.class.php
@@ -29,7 +29,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Document_State_SQL extends Noalyss_SQL
{
- function __construct(Database $p_cn, $p_id=-1)
+ function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.document_state";
$this->primary_key="s_id";
diff --git a/include/database/document_type_sql.class.php
b/include/database/document_type_sql.class.php
index cd493e3..36e2d5b 100644
--- a/include/database/document_type_sql.class.php
+++ b/include/database/document_type_sql.class.php
@@ -35,7 +35,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Document_type_SQL extends Noalyss_SQL
{
- function __construct(Database $p_cn, $p_id=-1)
+ function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.document_type";
$this->primary_key="dt_id";
diff --git a/include/database/fiche_def_ref_sql.class.php
b/include/database/fiche_def_ref_sql.class.php
index c952648..c895dde 100644
--- a/include/database/fiche_def_ref_sql.class.php
+++ b/include/database/fiche_def_ref_sql.class.php
@@ -34,7 +34,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Fiche_def_ref_SQL extends Noalyss_SQL
{
- function __construct(Database $p_cn, $p_id=-1)
+ function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.fiche_def_ref";
$this->primary_key="frd_id";
diff --git a/include/database/jrn_def_sql.class.php
b/include/database/jrn_def_sql.class.php
index 413e4d2..e1dd8a4 100644
--- a/include/database/jrn_def_sql.class.php
+++ b/include/database/jrn_def_sql.class.php
@@ -29,7 +29,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Jrn_def_SQL extends Noalyss_SQL
{
- function __construct(Database $p_cn, $p_id=-1)
+ function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.jrn_def";
$this->primary_key="jrn_def_id";
diff --git a/include/database/jrn_periode_sql.class.php
b/include/database/jrn_periode_sql.class.php
index 9f44045..4dfe905 100644
--- a/include/database/jrn_periode_sql.class.php
+++ b/include/database/jrn_periode_sql.class.php
@@ -34,7 +34,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Jrn_periode_SQL extends Noalyss_SQL
{
- function __construct(Database $p_cn, $p_id=-1)
+ function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.jrn_periode";
$this->primary_key="id";
diff --git a/include/database/menu_ref_sql.class.php
b/include/database/menu_ref_sql.class.php
index 5fa6982..c597c9c 100644
--- a/include/database/menu_ref_sql.class.php
+++ b/include/database/menu_ref_sql.class.php
@@ -35,7 +35,7 @@ require_once NOALYSS_INCLUDE.'/lib/noalyss_sql.class.php';
class Menu_Ref_SQL extends Noalyss_SQL
{
- function __construct(Database &$p_cn, $p_id=-1)
+ function __construct(DatabaseCore &$p_cn, $p_id=-1)
{
$this->table="public.menu_ref";
$this->primary_key="me_code";
diff --git a/include/database/op_predef_sql.class.php
b/include/database/op_predef_sql.class.php
index 8ae979c..3bf2c80 100644
--- a/include/database/op_predef_sql.class.php
+++ b/include/database/op_predef_sql.class.php
@@ -29,7 +29,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Op_predef_SQL extends Noalyss_SQL
{
- function __construct(Database $p_cn,$p_id=-1)
+ function __construct(DatabaseCore $p_cn,$p_id=-1)
{
$this->table = "public.op_predef";
$this->primary_key = "od_id";
diff --git a/include/database/parm_periode_sql.class.php
b/include/database/parm_periode_sql.class.php
index 18991e9..c9fc7ac 100644
--- a/include/database/parm_periode_sql.class.php
+++ b/include/database/parm_periode_sql.class.php
@@ -35,7 +35,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Parm_periode_SQL extends Noalyss_SQL
{
-function __construct(Database $p_cn,$p_id=-1)
+function __construct(DatabaseCore $p_cn,$p_id=-1)
{
$this->table = "public.parm_periode";
$this->primary_key = "p_id";
diff --git a/include/database/payment_method_sql.class.php
b/include/database/payment_method_sql.class.php
index 2154e95..52adfa7 100644
--- a/include/database/payment_method_sql.class.php
+++ b/include/database/payment_method_sql.class.php
@@ -32,7 +32,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Payment_method_SQL extends Noalyss_SQL
{
- function __construct(Database $p_cn, $p_id=-1)
+ function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.payment_method";
$this->primary_key="mp_id";
diff --git a/include/database/poste_analytique_sql.class.php
b/include/database/poste_analytique_sql.class.php
index a99b8a2..ed17f4d 100644
--- a/include/database/poste_analytique_sql.class.php
+++ b/include/database/poste_analytique_sql.class.php
@@ -35,7 +35,7 @@ require_once NOALYSS_INCLUDE.'/lib/noalyss_sql.class.php';
class Poste_analytique_SQL extends Noalyss_SQL
{
- function __construct(Database $p_cn, $p_id=-1)
+ function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.poste_analytique";
$this->primary_key="po_id";
diff --git a/include/database/tag_group_sql.class.php
b/include/database/tag_group_sql.class.php
index 2792323..ec82ded 100644
--- a/include/database/tag_group_sql.class.php
+++ b/include/database/tag_group_sql.class.php
@@ -30,7 +30,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Tag_group_SQL extends Noalyss_SQL
{
-function __construct(Database $p_cn,$p_id=-1)
+function __construct(DatabaseCore $p_cn,$p_id=-1)
{
$this->table = "public.tag_group";
$this->primary_key = "tg_id";
diff --git a/include/database/tva_rate_sql.class.php
b/include/database/tva_rate_sql.class.php
index f23d98b..9ad5d69 100644
--- a/include/database/tva_rate_sql.class.php
+++ b/include/database/tva_rate_sql.class.php
@@ -31,7 +31,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Tva_rate_SQL extends Noalyss_SQL
{
- function __construct(Database $p_cn, $p_id=-1)
+ function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.tva_rate";
$this->primary_key="tva_id";
diff --git a/include/database/user_filter_sql.class.php
b/include/database/user_filter_sql.class.php
index 55b59be..3a1557d 100644
--- a/include/database/user_filter_sql.class.php
+++ b/include/database/user_filter_sql.class.php
@@ -31,7 +31,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class User_filter_SQL extends Noalyss_SQL
{
- function __construct(Database $p_cn, $p_id=-1)
+ function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.user_filter";
$this->primary_key="id";
diff --git a/include/database/v_tva_rate_sql.class.php
b/include/database/v_tva_rate_sql.class.php
index 19c63fe..0b3de4c 100644
--- a/include/database/v_tva_rate_sql.class.php
+++ b/include/database/v_tva_rate_sql.class.php
@@ -31,7 +31,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class V_Tva_Rate_SQL extends Noalyss_SQL
{
- function __construct(Database $p_cn, $p_id=-1)
+ function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.v_tva_rate";
$this->primary_key="tva_id";
- [Noalyss-commit] [noalyss] 06/15: Fix: bug in gettext function, (continued)
- [Noalyss-commit] [noalyss] 06/15: Fix: bug in gettext function, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 05/15: New 0001893: Date remplacement auto des séparateurs, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 09/15: Set Version 8.1 + logo + bug SQL script 151, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 12/15: Compatibility PHP7.0, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 04/15: New : 0001890: Avertissement si la document à télécharger est trop gros, on ne peut soumettre le fichier, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 07/15: ICard Improve doc and test, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 08/15: New : Task #1894: Gestion : ajout un champs paramétrable pour videoconf, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 11/15: Fix : Menu problem when 2 duplicate menus, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 14/15: cosmetic : position inner_box on larger screen, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 10/15: Place of recover_link, Dany De Bontridder, 2021/02/05
- [Noalyss-commit] [noalyss] 15/15: We split Database in DatabaseCore and Database,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 13/15: Bug = if double click on a card returns nothing, Dany De Bontridder, 2021/02/05