odea/library/Scores/Enrichissement.php
2012-03-06 14:06:38 +00:00

129 lines
2.8 KiB
PHP

<?php
class Enrichissement
{
/**
* Déclaration des colonnes de la table de données pour la transposition
*
*/
protected $columns = array(
'id' => array(),
'source' => array(),
'source_id' => array(),
'triCode' => array(),
'autre_id' => array(),
'siren' => array(),
'nic' => array(),
'actif' => array(),
'siege' => array(
'value' => array(
'1' => "Etablissement Siege",
'0' => "Etablissement Secondaire",
)
),
'raisonSociale' => array(),
'enseigne' => array(),
'sigle' => array(),
'identite_pre' => array(),
'marques' => array(),
'adr_num' => array(),
'adr_btq' => array(),
'adr_typeVoie' => array(),
'adr_libVoie' => array(),
'adr_comp' => array(),
'adr_cp' => array(),
'adr_ville' => array(),
'adr_dep' => array(),
'adr_com' => array(),
'tel' => array(),
'fax' => array(),
'cj' => array(),
'capital' => array(),
'capitalDev' => array(),
'capitalSrc' => array(),
'ape_etab' => array(),
'ape_entrep' => array(),
'age_entrep' => array(),
'age_etab' => array(),
'tca' => array(),
'tcaexp' => array(),
'teff_entrep' => array(),
'teff_etab' => array(),
'rang' => array(),
'web' => array(),
'mail' => array(),
'adrDom' => array(),
'lieuAct' => array(),
'actifEco' => array(),
'presentRcs' => array(),
'procolHisto' => array(),
'tvaIntraCle' => array(),
'tvaIntraValide' => array(),
'ape4_etab' => array(),
'ape4_entrep' => array(),
'NaceEtab' => array(),
'NaceEntrep' => array(),
'dateCrea_etab' => array(),
'dateCrea_ent' => array(),
'dateImmat' => array(),
'eff_entrep' => array(),
'eff_etab' => array(),
'distSP' => array(),
'achPost' => array(),
'rivoli' => array(),
'dirCiv' => array(),
'dirNom' => array(),
'dirPrenom' => array(),
'dirDateNaiss' => array(),
'dirFct' => array(),
'nbEtab' => array(),
'nbMPubli' => array(),
'sirenGrp' => array(),
'nbActio' => array(),
'nbPart' => array(),
'bilType' => array(),
'bilAnnee' => array(),
'bilCloture' => array(),
'bilDuree' => array(),
'bilTca' => array(),
'bilEE' => array(),
'bilFL' => array(),
'bilFK' => array(),
'bilFR' => array(),
'bilGF' => array(),
'bilGP' => array(),
'bilGU' => array(),
'bilGW' => array(),
'bilHD' => array(),
'bilHH' => array(),
'bilHL' => array(),
'bilHM' => array(),
'bilHN' => array(),
'bilYP' => array(),
'avisCs' => array(),
);
/**
* Déclaration des champs exportable
* @var unknown_type
*/
protected $fields = array(
'siege' => array(
'label' => "Type d'établissement",
'column' => 'siege'
),
'dirigeant' => array(
'label' => "Dirigeant",
'column' => array('dirCiv', 'dirNom', 'dirPrenom', 'dirDateNaiss', 'dirFct')
),
);
public function __construct(){}
public function getFields()
{
return $this->fields;
}
}