Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 478 Rev 479
Line 35... Line 35...
35
					break;
35
					break;
36
				case 'supprimerTous' :
36
				case 'supprimerTous' :
37
					$version = $this->getClasseVersion();
37
					$version = $this->getClasseVersion();
38
					$version->supprimerTous();
38
					$version->supprimerTous();
39
					break;
39
					break;
40
				case 'creerV1' :
-
 
41
					$version = $this->getClasseVersion();
-
 
42
					$version->creerVersion1();
-
 
43
					break;
-
 
44
				case 'nettoyerV1' :
-
 
45
					$version = $this->getClasseVersion();
-
 
46
					$version->nettoyerVersion1();
-
 
47
					break;
-
 
48
				case 'creerDscTxt' :
40
				case 'creerDscTxt' :
49
					$description = $this->getClasseDescription();
41
					$description = $this->getClasseDescription();
50
					$description->genererDescriptionTxt();
42
					$description->genererDescriptionTxt();
51
					break;
43
					break;
52
				case 'statDscTxt' :
44
				case 'statDscTxt' :
Line 79... Line 71...
79
		} catch (Exception $e) {
71
		} catch (Exception $e) {
80
			$this->traiterErreur($e->getMessage());
72
			$this->traiterErreur($e->getMessage());
81
		}
73
		}
82
	}
74
	}
Line 83... Line 75...
83
 
75
 
84
	private function getClasseVersion($version = '1') {
76
	private function getClasseVersion() {
85
		$version1 = $this->getClasse('Version');
77
		$version = $this->getClasse('Versions');
86
		return $version1;
78
		return $version;
Line 87... Line 79...
87
	}
79
	}
88
 
80
 
89
	private function getClasseDescription() {
81
	private function getClasseDescription() {