Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 292 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 292 Rev 426
Line 18... Line 18...
18
 
18
 
19
		// Lancement de l'action demandée
19
		// Lancement de l'action demandée
20
		$cmd = $this->getParametre('a');
20
		$cmd = $this->getParametre('a');
21
		switch ($cmd) {
21
		switch ($cmd) {
-
 
22
			case 'integrer' :
-
 
23
				$this->supprimerPagesExistantes();
-
 
24
				$this->reinitialiserAutoIncrement('coste_pages');
-
 
25
				$this->reinitialiserAutoIncrement('coste_triples');
22
			case 'integrer' :
26
 
23
				$this->ouvrirDossier();
27
				$this->ouvrirDossier();
24
				$this->chargerIndexGpFG();
28
				$this->chargerIndexGpFG();
25
				$this->integrerSynonyme();
29
				$this->integrerSynonyme();
26
				ksort($this->table_espece);
30
				ksort($this->table_espece);
Line 36... Line 40...
36
	}
40
	}
Line 37... Line 41...
37
 
41
 
Line 38... Line 42...
38
//---------------------------------FONCTION DE RECUPERATION DES DONNEES SUR LES ESPECES---------------------------------
42
//---------------------------------FONCTION DE RECUPERATION DES DONNEES SUR LES ESPECES---------------------------------
39
 
-
 
40
	private function ouvrirDossier() {
-
 
41
		$this->supprimerPagesExistantes();
-
 
42
		$this->reinitialiserAutoIncrement('coste_pages');
43
 
43
		$this->reinitialiserAutoIncrement('coste_triples');
44
	private function ouvrirDossier() {
44
		$nomDossier = $this->getParametre('n');
45
		$nomDossier = $this->getParametre('n');
45
		$tableaux = null;
46
		$tableaux = null;
46
		if (file_exists($nomDossier) === true) {
47
		if (file_exists($nomDossier) === true) {