public function search()
{
// Warning: Please modify the following code to remove attributes that
// should not be searched.
$criteria = new CDbCriteria();
$criteria->compare('content_list_id', $this->content_list_id, true);
$criteria->compare('name', $this->name, true);
$criteria->compare('value', $this->value, true);
$criteria->compare('created', $this->created);
$sort = new CSort();
$sort->attributes = array('content_list_id');
$sort->defaultOrder = 'content_list_id DESC';
return new CActiveDataProvider($this, array('criteria' => $criteria, 'sort' => $sort));
}