public function search()
{
// Warning: Please modify the following code to remove attributes that
// should not be searched.
$criteria = new \CDbCriteria();
$criteria->compare('id', $this->id, true);
$criteria->compare('event_id', $this->event_id, true);
$criteria->compare('left_method_id', $this->left_method_id);
$criteria->compare('right_method_id', $this->right_method_id);
$criteria->compare('left_crt', $this->left_crt);
$criteria->compare('right_crt', $this->right_crt);
$criteria->compare('left_sft', $this->left_sft);
$criteria->compare('right_sft', $this->right_sft);
$criteria->compare('left_thickness_increase', $this->left_thickness_increase);
$criteria->compare('right_thickness_increase', $this->right_thickness_increase);
$criteria->compare('left_dry', $this->left_dry);
$criteria->compare('right_dry', $this->right_dry);
$criteria->compare('left_fluidtypes', $this->left_fluidtypes);
$criteria->compare('right_fluidtypes', $this->right_fluidtypes);
$criteria->compare('left_fluidstatus_id', $this->left_fluidstatus_id);
$criteria->compare('right_fluidstatus_id', $this->right_fluidstatus_id);
$criteria->compare('left_comments', $this->left_comments);
$criteria->compare('right_comments', $this->right_comments);
return new \CActiveDataProvider(get_class($this), array('criteria' => $criteria));
}