Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 270 | Rev 960 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 270 Rev 288
Line 43... Line 43...
43
	private function capturerParametres() {
43
	private function capturerParametres() {
44
		if (isset($_GET['projet'])) {
44
		if (isset($_GET['projet'])) {
45
			$this->projet = $_GET['projet'];
45
			$this->projet = $_GET['projet'];
46
		}
46
		}
47
	}
47
	}
48
	
-
 
49
	protected function recupererTableauConfig($param) {
-
 
50
		$tableau = array();
-
 
51
		$tableauPartiel = explode(',', Config::get($param));
-
 
52
		$tableauPartiel = array_map('trim', $tableauPartiel);
-
 
53
		foreach ($tableauPartiel as $champ) {
-
 
54
			if (strpos($champ, '=') === false) {
-
 
55
				$tableau[] = $champ;
-
 
56
			} else {
-
 
57
				list($cle, $val) = explode('=', $champ);
-
 
58
				$tableau[$cle] = $val;
-
 
59
			}
-
 
60
		}
-
 
61
		return $tableau;
-
 
62
	}
-
 
63
}
48
}
64
?>
49
?>
65
50