$criteria = new CDbCriteria; $criteria->compare('status', 'active');
$criteria = new CDbCriteria; $criteria->addCondition('price > 10');This code creates a new criteria object and adds a condition that checks if the 'price' column is greater than 10. The Yii framework is the package library for the PHP CDbCriteria, as it is included in the framework's database component.