Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1574 Rev 1659
Line 220... Line 220...
220
		$ids = $this->protegerTableau($ids_elements_lies);
220
		$ids = $this->protegerTableau($ids_elements_lies);
221
		$requete = "DELETE FROM {$this->table_champs_etendus} WHERE {$this->champ_id} IN (".implode(',',$ids).") ";
221
		$requete = "DELETE FROM {$this->table_champs_etendus} WHERE {$this->champ_id} IN (".implode(',',$ids).") ";
222
		$suppr = $this->executerRequeteSimple($requete);
222
		$suppr = $this->executerRequeteSimple($requete);
223
		return ($suppr !== false);
223
		return ($suppr !== false);
224
	}
224
	}
-
 
225
	
-
 
226
	/**
-
 
227
	* Revnoie tous les intitules aux éléments passés en paramètre
-
 
228
	*
-
 
229
	* @param array $ids_elements_lies
-
 
230
	* @return bool
-
 
231
	*/
-
 
232
	public function consulterClesParLots($ids_elements_lies) {
-
 
233
		$ids = $this->protegerTableau($ids_elements_lies);
-
 
234
		$requete = "SELECT cle FROM {$this->table_champs_etendus} WHERE {$this->champ_id} IN (".implode(',',$ids).") ";
-
 
235
		$cles = $this->executerRequete($requete);
-
 
236
		$cles_fmt = array();
-
 
237
		foreach($cles as &$cle) {
-
 
238
			$cles_fmt[] = $cle['cle'];
-
 
239
		}
-
 
240
		return $cles_fmt; 
-
 
241
	}
Line 225... Line 242...
225
 
242
 
226
	/**
243
	/**
227
	 * Transforme un label en clé.
244
	 * Transforme un label en clé.
228
	 * Supprime tous les accents et caractères spéciaux.
245
	 * Supprime tous les accents et caractères spéciaux.