1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
zYne 2006-09-07 21:25:08 +00:00
parent e21562b057
commit 16fad08f01

View File

@ -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;