public function queryDQL ($dql, array $bound_parameters = array()) {
		$statement = $this -> entity_manager -> createQuery($dql);

		foreach ($bound_parameters as $parameter => $value) {
			$statement -> setParameter($parameter, $value);
		}

		return $statement -> getResult();
	}
public function queryDQL ($dql, array $bound_parameters = array()) {
		$statement = $this -> entity_manager -> createQuery($dql);

		foreach ($bound_parameters as $parameter => $value) {
			$statement -> setParameter($parameter, $value);
		}

		return $statement -> getResult();
	}
public function queryDQL ( $ dql , array $ bound_parameters = array ( ) ) { $ statement = $ this -> entity_manager -> createQuery ( $ dql ) ; foreach ( $ bound_parameters as $ parameter => $ value ) { $ statement -> setParameter ( $ parameter , $ value ) ; } return $ statement -> getResult ( ) ; }
Performs an arbitrary DQL query.

@param string	$dql
@param array		[$bound_parameters]

@return array
Performs an arbitrary DQL query .