Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 351 Rev 424
Line 38... Line 38...
38
					$this->creerVersion1();
38
					$this->creerVersion1();
39
					break;
39
					break;
40
				case 'nettoyerV1' :
40
				case 'nettoyerV1' :
41
					$this->nettoyerVersion1();
41
					$this->nettoyerVersion1();
42
					break;
42
					break;
-
 
43
				case 'creerDscTxt' :
-
 
44
					$this->creerDescriptionTxt();
-
 
45
					break;
43
				default :
46
				default :
44
					throw new Exception("Erreur : la commande '$cmd' n'existe pas!");
47
					throw new Exception("Erreur : la commande '$cmd' n'existe pas!");
45
			}
48
			}
46
		} catch (Exception $e) {
49
		} catch (Exception $e) {
47
			$this->traiterErreur($e->getMessage());
50
			$this->traiterErreur($e->getMessage());
Line 131... Line 134...
131
					"	ENCLOSED BY '' ".
134
					"	ENCLOSED BY '' ".
132
					"	ESCAPED BY '\\\' ".
135
					"	ESCAPED BY '\\\' ".
133
					'IGNORE 1 LINES ';
136
					'IGNORE 1 LINES ';
134
		$this->getBdd()->requeter($requete);
137
		$this->getBdd()->requeter($requete);
135
	}
138
	}
-
 
139
 
-
 
140
	private function creerDescriptionTxt() {
-
 
141
		$conteneur = new Conteneur();
-
 
142
		$conteneur->setParametre('-v', $this->getParametre('-v'));
-
 
143
		require_once dirname(__FILE__)."/Description.php";
-
 
144
		$description = new Description($conteneur);
-
 
145
		$description->genererDescriptionTxt();
-
 
146
	}
136
}
147
}
137
?>
148
?>
138
149