Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1508 Rev 1524
Line 326... Line 326...
326
			$avoir_enregistrement = true;
326
			$avoir_enregistrement = true;
327
		}
327
		}
328
		return $avoir_enregistrement;
328
		return $avoir_enregistrement;
329
	}
329
	}
Line -... Line 330...
-
 
330
	
-
 
331
	protected function contenirDonnees($requete) {
-
 
332
		$nbre = $this->bdd->query($requete)->fetchColumn();
-
 
333
		
-
 
334
		$presence = false;
-
 
335
		if ($nbre != 0) {
-
 
336
			$presence = true;
-
 
337
		}
-
 
338
		return $presence;
-
 
339
	}
330
	
340
	
331
	protected function construireWhere($table) {
341
	protected function construireWhere($table) {
332
		$where = '1';
342
		$where = '1';
333
	   	if (is_array($table) && count($table) > 0) {
343
	   	if (is_array($table) && count($table) > 0) {
334
			$table_where = array();
344
			$table_where = array();