Subversion Repositories Sites.obs-saisons.fr

Rev

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

Rev 33 Rev 41
Line 92... Line 92...
92
/** ======================= Methodes privées d'accès au informations ================================ */   
92
/** ======================= Methodes privées d'accès au informations ================================ */   
Line 93... Line 93...
93
    
93
    
94
    private function getElementParDefaut() {
94
    private function getElementParDefaut() {
95
    	return $this->getEspecesParType();
95
    	return $this->getEspecesParType();
-
 
96
    }
-
 
97
    
-
 
98
    private function getEspece($params) {
-
 
99
    	
-
 
100
    	$id_espece = $params[0];
-
 
101
    	
-
 
102
    	$requete_informations_espece = 'SELECT * FROM ods_especes '.
-
 
103
    								   'WHERE oe_id_espece = '.$this->proteger($id_espece);
-
 
104
    	
-
 
105
    	$informations_espece = $this->executerRequete($requete_informations_espece);
-
 
106
    	
-
 
107
    	$informations_espece_formatees = array();
-
 
108
    	
-
 
109
    	if(!empty($informations_espece)) {
-
 
110
    		$informations_espece_formatees = $this->formaterTableauEspecePourEnvoi($informations_espece[0]);
-
 
111
    	}
-
 
112
    	
-
 
113
    	return $informations_espece_formatees;
Line 96... Line 114...
96
    }
114
    }
Line 97... Line 115...
97
 
115