Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1721 Rev 1729
Line 74... Line 74...
74
	public function __get($prop) {
74
	public function __get($prop) {
75
		if($prop == 'bdd') return self::$bdd;
75
		if($prop == 'bdd') return self::$bdd;
76
		return $this->$prop;
76
		return $this->$prop;
77
	}
77
	}
Line 78... Line -...
78
 
-
 
79
	// TODO: delete wrappers
-
 
80
	public function requeter() {
-
 
81
		return call_user_func_array(array(self::$bdd, __FUNCTION__), func_get_args());
-
 
82
	}
-
 
83
	// TODO: delete wrappers
-
 
84
	protected function executer() {
-
 
85
		return call_user_func_array(array(self::$bdd, __FUNCTION__), func_get_args());
-
 
86
	}
-
 
87
	// TODO: delete wrappers
-
 
88
	protected function protegerRequete() {
-
 
89
		return call_user_func_array(array(self::$bdd, __FUNCTION__), func_get_args());
-
 
90
	}
-
 
91
	// TODO: delete wrappers
-
 
92
	protected function proteger() {
-
 
93
		return call_user_func_array(array(self::$bdd, __FUNCTION__), func_get_args());
-
 
94
	}
-
 
95
 
78
 
96
	protected function protegerTableau(Array $tableau) {
79
	protected function protegerTableau(Array $tableau) {
97
		foreach ($tableau as $id => $val) {
80
		foreach ($tableau as $id => $val) {
98
			$tableau[$id] = $this->proteger($val);
81
			$tableau[$id] = $this->proteger($val);
99
		}
82
		}
100
		return $tableau;
83
		return $tableau;
Line 101... Line -...
101
	}
-
 
102
 
-
 
103
	// TODO: delete wrappers
-
 
104
	protected function executerRequeteSimple() {
-
 
105
		return call_user_func_array(array(self::$bdd, __FUNCTION__), func_get_args());
-
 
106
	}
-
 
107
	// TODO: delete wrappers
-
 
108
	public function executerRequete() {
-
 
109
		return call_user_func_array(array(self::$bdd, __FUNCTION__), func_get_args());
-
 
110
	}
-
 
111
 
-
 
112
	// TODO: delete wrappers
-
 
113
	protected function getTxt() {
-
 
114
		return call_user_func_array(array(self::$bdd, __FUNCTION__), func_get_args());
-
 
115
	}
84
	}
116
 
85
 
Line 117... Line 86...
117
	//+----------------------------------------------------------------------------------------------------------------+
86
	//+----------------------------------------------------------------------------------------------------------------+
118
	// TRAITEMENT des URLs et des PARAMÊTRES
87
	// TRAITEMENT des URLs et des PARAMÊTRES