reverting previous change which references and closes #712
This commit is contained in:
parent
89cb0ecaad
commit
648f068535
@ -1519,27 +1519,6 @@ abstract class Doctrine_Query_Abstract
|
|||||||
return $this->_sqlParts;
|
return $this->_sqlParts;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* getQueryPartValue
|
|
||||||
* return the value of queryPartName
|
|
||||||
*
|
|
||||||
* @param $queryPartName
|
|
||||||
* @return mixed value of queryPartName
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public function getQueryPartValue($queryPartName)
|
|
||||||
{
|
|
||||||
if(isset($this->_dqlParts[$queryPartName])) {
|
|
||||||
if(count($this->_dqlParts[$queryPartName]) == 1) {
|
|
||||||
return $this->_dqlParts[$queryPartName][0];
|
|
||||||
} else {
|
|
||||||
return $this->_dqlParts[$queryPartName];
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getType
|
* getType
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user