Yii How to use CDbCriteria พฤษภาคม 13, 2016กุมภาพันธ์ 22, 2019 admin Programming, Web and Java EE [php] $criteria=new CDbCriteria; $criteria=>condition = “id in (select linkitem from folderlink where folderid=:folderid)”; $criteria=>params = array(“:folderid”=>$_GET[‘id’]); $models=address::model()=>findAll($criteria); [/php]