title: How to use IN clause in CDbCriteria with CActiveDataProvider in Yii?
body: <p>Here is my working code, without IN clause conditions - <br /></p>
  
  <pre><code>   $dataProvider = new CActiveDataProvider('UserInfo',
          array('id'=&gt;'user-detail',
            'sort'=&gt;array('defaultOrder'=&gt;'id DESC', 
                    'attributes'=&gt;array('id', 'fname', 'lname', 'city')
              ),
           'criteria' =&gt; array(
                  'condition' =&gt; 'Staus=:Staus',
                  'params' =&gt; array(':Staus' =&gt; 1),
             ),
          'pagination'=&gt;array
              (
                  'pageSize'=&gt;10)
              )
          );
  </code></pre>
  
  <p><br /><br /><br>
  Now i also want to use IN clause in the condition, how can use?
  I'm trying like this, but getting error - Array to string conversion</p>
  
  <pre><code>'criteria' =&gt; array(
              'condition' =&gt; 'Staus=:Staus, id=:id',
              'params' =&gt; array(':Staus' =&gt; 1, ':id' =&gt; array(1,4,10,15,20)),
         ),
  </code></pre>
  
  <p><br />
  Please help me to resolve my issue, thanks in advance!</p>