title: Error with Propel and ZendFramework
body: <p>After inheriting some Zend Framework code it didn't work, after lots of fiddling I've managed to create the schema and rebuild the models, although now I'm getting the following error: </p>
  
  <pre><code>Call to undefined method Criteria::hasSelectClause() in  home/richard/library/om/BaseDomainPeer.php on line 329
  </code></pre>
  
  <p>Why would propel generate files that call unknown methods?</p>