Subversion Repositories eFlore/Applications.cel

Rev

Rev 2536 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2536 Rev 2559
Line 103... Line 103...
103
		$liste_coordonnees = $this->dao->rechercherPaysSansCorrespondanceDepuisLeDebut();
103
		$liste_coordonnees = $this->dao->rechercherPaysSansCorrespondanceDepuisLeDebut();
104
		$this->traiterCoordonnees($liste_coordonnees);
104
		$this->traiterCoordonnees($liste_coordonnees);
105
	}
105
	}
Line 106... Line 106...
106
	
106
	
-
 
107
	protected function calculerToutSansCorrespondance() {
107
	protected function calculerToutSansCorrespondance() {
108
		$this->affecterPaysFranceAuxCommunes();
108
		$liste_coordonnees = $this->dao->rechercherToutSansCorrespondance();
109
		$liste_coordonnees = $this->dao->rechercherToutSansCorrespondance();
109
		$this->traiterCoordonnees($liste_coordonnees);
110
		$this->traiterCoordonnees($liste_coordonnees);
Line 110... Line 111...
110
	}
111
	}
-
 
112
 
111
 
113
	protected function calculerToutSansCorrespondanceDepuisLeDebut() {
112
	protected function calculerToutSansCorrespondanceDepuisLeDebut() {
114
		$this->affecterPaysFranceAuxCommunes();
113
		$liste_coordonnees = $this->dao->rechercherSansCorrespondanceDepuisLeDebut();
115
		$liste_coordonnees = $this->dao->rechercherSansCorrespondanceDepuisLeDebut();
-
 
116
		$this->traiterCoordonnees($liste_coordonnees);
-
 
117
	}
-
 
118
	
-
 
119
	protected function affecterPaysFranceAuxCommunes() {
-
 
120
		if ($this->mode_verbeux) {
-
 
121
			echo "-------------------------------------------------------------------\n";
-
 
122
			echo "  Affectation du pays France aux communes ayant un code INSEE mais pas de pays ... ";
-
 
123
		}
-
 
124
		
-
 
125
		$maj = $this->dao->affecterPaysFranceAuxCommunesRenseignees();
-
 
126
		
-
 
127
		if ($this->mode_verbeux) {
-
 
128
			echo "OK \n";
-
 
129
			echo "  ".$maj." commune".($maj > 1 ? 's' : '')." affectée".($maj > 1 ? 's' : '')."\n";
-
 
130
			echo "-------------------------------------------------------------------\n";
Line 114... Line 131...
114
		$this->traiterCoordonnees($liste_coordonnees);
131
		}
115
	}
132
	}
116
 
133
 
117
	private function traiterCoordonnees($liste_coordonnees) {
134
	private function traiterCoordonnees($liste_coordonnees) {