public function loadResult($params=array()) {
		
		$this->openConnection();
		
		$res = NULL;

		try {

			$stat = $this->handler->prepare($this->query);
			$stat->execute((array)$params);
			
			// logger
			$count = $this->handler->query('SELECT FOUND_ROWS()')->fetchColumn();
			$this->logParamQuery($this->query, $count, $params);
			$res = $stat->fetch(\PDO::FETCH_COLUMN);	
		
		} catch (\PDOException $e) {

			$this->handleException($e, $params);

		}
		
		$stat->closeCursor();

		return $res;
		
	}
public function loadResult($params=array()) {
		
		$this->openConnection();
		
		$res = NULL;

		try {

			$stat = $this->handler->prepare($this->query);
			$stat->execute((array)$params);
			
			// logger
			$count = $this->handler->query('SELECT FOUND_ROWS()')->fetchColumn();
			$this->logParamQuery($this->query, $count, $params);
			$res = $stat->fetch(\PDO::FETCH_COLUMN);	
		
		} catch (\PDOException $e) {

			$this->handleException($e, $params);

		}
		
		$stat->closeCursor();

		return $res;
		
	}
public function loadResult ( $ params = array ( ) ) { $ this -> openConnection ( ) ; $ res = NULL ; try { $ stat = $ this -> handler -> prepare ( $ this -> query ) ; $ stat -> execute ( ( array ) $ params ) ; // logger
 $ count = $ this -> handler -> query ( 'SELECT FOUND_ROWS()' ) -> fetchColumn ( ) ; $ this -> logParamQuery ( $ this -> query , $ count , $ params ) ; $ res = $ stat -> fetch ( \ PDO :: FETCH_COLUMN ) ; } catch ( \ PDOException $ e ) { $ this -> handleException ( $ e , $ params ) ; } $ stat -> closeCursor ( ) ; return $ res ; }
Returns first field value or NULL if row is not found.

@param	mixed	List of parameters to bind on sql query.

@return	multitype|NULL
Returns first field value or NULL if row is not found .