We split Database in DatabaseCore and Database
This commit is contained in:
parent
ee543225e7
commit
79ecb68033
16 changed files with 16 additions and 16 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue