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_eyedraw', $this->left_eyedraw);
$criteria->compare('left_description', $this->left_description);
$criteria->compare('right_eyedraw', $this->right_eyedraw);
$criteria->compare('right_description', $this->right_description);
return new \CActiveDataProvider(get_class($this), array('criteria' => $criteria));
}