OEModule\OphCiExamination\models\Element_OphCiExamination_CurrentManagementPlan::search PHP Method

    public function search()
    {
        $criteria = new CDbCriteria();
        $criteria->compare('id', $this->id, true);
        $criteria->compare('event_id', $this->event_id, true);
        $criteria->compare('right_glaucoma_status_id', $this->right_glaucoma_status_id);
        $criteria->compare('left_glaucoma_status_id', $this->left_glaucoma_status_id);
        $criteria->compare('right_drop-related_prob_id', $this->drop - right_related_prob_id);
        $criteria->compare('left_drop-related_prob_id', $this->left_drop - related_prob_id);
        $criteria->compare('right_drops_id', $this->right_drops_id);
        $criteria->compare('left_drops_id', $this->left_drops_id);
        $criteria->compare('right_surgery_id', $this->right_surgery_id);
        $criteria->compare('left_surgery_id', $this->left_surgery_id);
        return new CActiveDataProvider(get_class($this), array('criteria' => $criteria));
    }