OEModule\OphCiExamination\models\Element_OphCiExamination_ClinicOutcome::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('status_id', $this->status_id);
        $criteria->compare('followup_quanityt', $this->followup_quantity);
        $criteria->compare('followup_quantity', $this->followup_quantity);
        $criteria->compare('followup_period_id', $this->followup_period_id);
        $criteria->compare('role_id', $this->role_id);
        $criteria->compare('role_comments', $this->role_comments);
        return new \CActiveDataProvider(get_class($this), array('criteria' => $criteria));
    }