This commit is contained in:
parent
4004541b60
commit
fcc58778c5
@ -314,6 +314,21 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable
|
||||
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* getDqlPart
|
||||
* returns the given DQL query part
|
||||
*
|
||||
* @param string $queryPart the name of the query part
|
||||
* @return string the DQL query part
|
||||
*/
|
||||
public function getDqlPart($queryPart)
|
||||
{
|
||||
if ( ! isset($this->_dqlParts[$queryPart])) {
|
||||
throw new Doctrine_Query_Exception('Unknown query part ' . $queryPart);
|
||||
}
|
||||
|
||||
return $this->_dqlParts[$queryPart];
|
||||
}
|
||||
/**
|
||||
* getDql
|
||||
* returns the DQL query associated with this object
|
||||
@ -509,7 +524,7 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function processPendingSubqueries()
|
||||
public function processPendingSubqueries()
|
||||
{
|
||||
foreach ($this->pendingSubqueries as $value) {
|
||||
list($dql, $alias) = $value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user