Doctrine\ORM\Query::getState
Returns the state of this query object By default the type is Doctrine_ORM_Query_Abstract::STATE_CLEAN but if it appears any unprocessed DQL part, it is switched to Doctrine_ORM_Query_Abstract::STATE_DIRTY.
Signature
public function getState()
Returns
- integer
- Return the query state