Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 1005 → Rev 1232

/trunk/scripts/modules/moissonnage/Moissonnage.php
19,14 → 19,14
$this->projet = $this->getParametre('n');
switch ($cmd) {
case 'chargerTous' :
$this->chargerDonnees();
$this->chargerMetaDonnees();
$this->chargerDonnee();
$this->chargerMetaDonnee();
break;
case 'chargerDonnees' :
$this->chargerDonnees();
case 'chargerDonnee' :
$this->chargerDonnee();
break;
case 'chargerMetadonnees' :
$this->chargerMetaDonnees();
case 'chargerMetadonnee' :
$this->chargerMetaDonnee();
break;
case 'supprimerTous' :
$this->supprimerTous();
39,7 → 39,7
}
}
private function chargerDonnees() {
private function chargerDonnee() {
$requete = "CREATE TABLE tb_eflore.".$this->projet."_tapir2 ".
"AS SELECT concat('urn:lsid:',institutionCode,':',collectionCode,':', catalogNumber) AS guid, ".
"`catalogNumber` AS observation_id, `scientificName` AS nom_scientifique_complet, `referencess` AS num_nom, ".
63,7 → 63,7
}
private function chargerMetaDonnees() {
private function chargerMetaDonnee() {
$this->chargerStructureSqlMetaDonnees();
$infos = $this->chercherInfosMetaDonnees();
$date = date('Y_m_d');