This commit is contained in:
parent
e21562b057
commit
16fad08f01
@ -105,6 +105,8 @@ abstract class Doctrine_Hydrate extends Doctrine_Access {
|
|||||||
abstract public function getQuery();
|
abstract public function getQuery();
|
||||||
/**
|
/**
|
||||||
* limitSubqueryUsed
|
* limitSubqueryUsed
|
||||||
|
*
|
||||||
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public function isLimitSubqueryUsed() {
|
public function isLimitSubqueryUsed() {
|
||||||
return false;
|
return false;
|
||||||
@ -153,6 +155,8 @@ abstract class Doctrine_Hydrate extends Doctrine_Access {
|
|||||||
$this->tableAliases = array();
|
$this->tableAliases = array();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
* getConnection
|
||||||
|
*
|
||||||
* @return Doctrine_Connection
|
* @return Doctrine_Connection
|
||||||
*/
|
*/
|
||||||
public function getConnection() {
|
public function getConnection() {
|
||||||
@ -251,7 +255,7 @@ abstract class Doctrine_Hydrate extends Doctrine_Access {
|
|||||||
$params = array_merge($params, $params);
|
$params = array_merge($params, $params);
|
||||||
|
|
||||||
$stmt = $this->connection->execute($query,$params);
|
$stmt = $this->connection->execute($query,$params);
|
||||||
|
|
||||||
if($this->aggregate)
|
if($this->aggregate)
|
||||||
return $stmt->fetchAll(PDO::FETCH_ASSOC);
|
return $stmt->fetchAll(PDO::FETCH_ASSOC);
|
||||||
|
|
||||||
@ -292,7 +296,7 @@ abstract class Doctrine_Hydrate extends Doctrine_Access {
|
|||||||
$coll = $this->getCollection($root);
|
$coll = $this->getCollection($root);
|
||||||
$prev[$root] = $coll;
|
$prev[$root] = $coll;
|
||||||
|
|
||||||
|
|
||||||
if($this->aggregate)
|
if($this->aggregate)
|
||||||
$return = Doctrine::FETCH_ARRAY;
|
$return = Doctrine::FETCH_ARRAY;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user