methodes as $fonction) { if ($methode == $fonction) return (call_user_func_array(array($this, $fonction), $parametres)); } } public function checkValide($valeur) { if (!empty($valeur)) return ($valeur); return (null); } public function setQuery($query) { $this->query = $query; } public function getQuery() { return ($this->query); } public function getLabelDesc() { return ($this->label); } public function getLabelResults() { return ($this->labelResults); } public function getCountryCode() { return ($this->Provider->Countrycode); } public function getCurrentPage() { return ($_SESSION['recherches']['giant']['page']); } }