Change class name

This commit is contained in:
Michael RICOIS 2016-01-27 21:20:37 +00:00
parent 45a94d4f2e
commit 835fe60aa8
11 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,5 @@
<?php
class MBalo
class Metier_Bodacc_MBalo
{
public function getLibEven($strEven)
{

View File

@ -1,5 +1,5 @@
<?php
class MBoamp
class Metier_Bodacc_MBoamp
{
public function getCodEvenSd($codEvenBoamp, $strEvenBoamp='')
{

View File

@ -58,7 +58,7 @@ $tabTypeAsso=array(
);
class MBodacc
class Metier_Bodacc_MBodacc
{
/**
*

View File

@ -788,7 +788,7 @@ class Metier_Insee_MInsee
}
$this->tabCodeVoie = $this->getTabCodeVoie();
$this->iBodacc = new MBodacc($this->iDb);
$this->iBodacc = new Metier_Bodacc_MBodacc($this->iDb);
}
/**
@ -5936,7 +5936,7 @@ class Metier_Insee_MInsee
$strIdAnn=" AND Num_Affaire='$num' AND Num_Parution='$par' ";
}
$mBalo = new MBalo();
$mBalo = new Metier_Bodacc_MBalo();
$bodacc = $this->iDb->select('jo.balo', "Societe_Rcs, Categorie, Num_Affaire, Date_Parution, Num_Parution,
Url_Annonce_Html, Url_Annonce_Pdf, Annonce_Html, dateInsert",
@ -6009,7 +6009,7 @@ class Metier_Insee_MInsee
$idA = 0;
$tabRet = array();
$mBoamp = new MBoamp();
$mBoamp = new Metier_Bodacc_MBoamp();
// --- Recherche dans les avis d'attribution
if ( is_string($type) && $type=='A' || is_array($type) && in_array('A',$type) ) {

View File

@ -1189,7 +1189,7 @@ class Metier_Partenaires_MGreffes
} else {
$this->iDb = $db;
}
$this->iInsee = new MInsee($this->iDb);
$this->iInsee = new Metier_Insee_MInsee($this->iDb);
}
function getPageHeader($start,$end,$header)

View File

@ -39,7 +39,7 @@ class Metier_Partenaires_MLiens
public function __construct($siren) {
$this->siren=$siren;
$this->iDb=new WDB();
$this->iInsee=new MInsee();
$this->iInsee=new Metier_Insee_MInsee();
}
/** Retourne les actionnaires du siren

View File

@ -29,7 +29,7 @@ class Metier_Partenaires_MMarques {
$this->iDb = $db;
}
$this->iInsee=new MInsee($this->iDb);
$this->iInsee=new Metier_Insee_MInsee($this->iDb);
}
function __destruct() {

View File

@ -19,8 +19,8 @@ class Metier_Partenaires_MQualibat {
function __construct($accesDist=true) {// $adresse, $cp, $ville, $pays='France') {
$this->accesDist=$accesDist;
$this->iDb=new WDB();
$this->iBodacc=new MBodacc();
$this->$iInsee=new MInsee();
$this->iBodacc=new Metier_Bodacc_MBodacc();
$this->$iInsee=new Metier_Insee_MInsee();
}
private function getCodeFctDirigeant($strLibDirigeant, $siren=0) {

View File

@ -29,7 +29,7 @@ class Metier_Partenaires_MRnvp
function __construct() {
$this->iDb = new WDB();
$this->iInsee = new MInsee($this->iDb);
$this->iInsee = new Metier_Insee_MInsee($this->iDb);
}
/**

View File

@ -112,7 +112,7 @@ class Metier_Partenaires_MSitesWeb {
private $iDb;
function __construct(/*$siren, $accesDist=true*/) {
$this->iInsee=new MInsee();
$this->iInsee=new Metier_Insee_MInsee();
$this->iDb=new WDB();
}

View File

@ -612,7 +612,7 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
$iDb = $db;
}
$iInsee = new MInsee($iDb);
$iInsee = new Metier_Insee_MInsee($iDb);
/**
* Récupération des informations identitaire
@ -1990,7 +1990,7 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
if (count($tabA)>0) {
foreach ($tabA as $i=>$lien)
{
$lienInsee = new MInsee($iDb);
$lienInsee = new Metier_Insee_MInsee($iDb);
if(intval($lien->siren)>100 && ( $lien->MajMin=='+' || $lien->PDetention>50))
{
$tabIdentiteA=$lienInsee->getIdentiteLight($lien->siren);
@ -2031,7 +2031,7 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
if (count($tabP)>0) {
foreach ($tabP as $i=>$lien) {
if ($lien->siren>100 && ( $lien->MajMin=='+' || $lien->PDetention>50)) {
$lienInsee = new MInsee($iDb);
$lienInsee = new Metier_Insee_MInsee($iDb);
$NBFILLE++; // Nombre de participations à plus de 50%
if ($NBFILLE==1) {
$tabIdentiteP=$lienInsee->getIdentiteLight($lien->siren);