1
0
mirror of synced 2025-01-18 06:21:40 +03:00

reverting previous change which references and closes #712

This commit is contained in:
pookey 2008-01-07 14:17:29 +00:00
parent 89cb0ecaad
commit 648f068535

View File

@ -1519,27 +1519,6 @@ abstract class Doctrine_Query_Abstract
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
*