title: Grouping filters in Propel
body: <p>I currently have a Propel based query that looks like this:</p>
  
  <pre><code>$product = ProductQuery::create()
    -&gt;filterByLive(1)
    -&gt;filterByApproved(1)
    -&gt;findOneByFilename($filename);
  </code></pre>
  
  <p>I regularly use this query and instead of having to chain the two filters I wondered whether it's possible to create a new filter that encapsulates them? This means that if I were to add an additional filter in future then I could simply do it in this single method rather than having to go through the entire project adding the new filter.</p>
  
  <p>For example:</p>
  
  <pre><code>$product = ProductQuery::create()
    -&gt;filterByIsActive()
    -&gt;findOneByFilename($filename);
  </code></pre>
  
  <p>Is this possible?</p>