title: Finding multiple records at once in Yii Framework using the infamous CActiveRecord?
body: <p>How could I be able to find multiple records in a table using single instance of a model in the infamous Yii Framework for PHP?</p>
  
  <p>I have a dates column:</p>
  
  <pre><code>[dates]
  2011-06-29
  2011-06-30
  2011-07-01
  2011-07-02
  2011-07-03
  </code></pre>
  
  <p>And suppose I have a search criteria witch is a date range:</p>
  
  <pre><code>start search from: 2011-06-29
  end search at:     2011-07-03
  </code></pre>
  
  <p>And grab all those records for comparring, or to tell user that those records already exist in the table.</p>
  
  <p>How is this achivable with Yii Framework, enpowered with it's CActiveRecord, CDbCriteria, etc built-in classes?</p>