title: Create CDBcriteria in yii
body: <p>How to create cdbcriteria fo the query like :</p>
  
  <pre><code>select * from table_name where 'profile_type'='*'OR 'profile_type'=$usertype  AND 'location'='*'OR 'location'=$country
  </code></pre>