Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1724 Rev 1730
Line 82... Line 82...
82
	* @return array tableau associatif de tableau d'objets ChampEtendu.
82
	* @return array tableau associatif de tableau d'objets ChampEtendu.
83
	*/
83
	*/
84
	public function consulterParLots(Array $ids_element_lies) {
84
	public function consulterParLots(Array $ids_element_lies) {
85
		$champs_etendus_par_element = array();
85
		$champs_etendus_par_element = array();
86
		if (!empty($ids_element_lies)) {
86
		if (!empty($ids_element_lies)) {
87
			$ids_element_lies = array_map(array($this, 'proteger'),$ids_element_lies);
87
			$ids_element_lies = array_map(array(Cel::db(), 'proteger'),$ids_element_lies);
88
			$ids = implode(',', $ids_element_lies);
88
			$ids = implode(',', $ids_element_lies);
Line 89... Line 89...
89
 
89
 
90
			$requete = "SELECT * FROM {$this->table_champs_etendus} WHERE {$this->champ_id} IN ($ids) ";
90
			$requete = "SELECT * FROM {$this->table_champs_etendus} WHERE {$this->champ_id} IN ($ids) ";