OEModule\OphCoCvi\models\Element_OphCoCvi_ClericalInfo::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('employment_status_id', $this->employment_status_id);
        $criteria->compare('preferred_info_fmt_id', $this->preferred_info_fmt_id);
        $criteria->compare('info_email', $this->info_email);
        $criteria->compare('contact_urgency_id', $this->contact_urgency_id);
        $criteria->compare('preferred_language_id', $this->preferred_language_id);
        $criteria->compare('social_service_comments', $this->social_service_comments);
        return new CActiveDataProvider(get_class($this), array('criteria' => $criteria));
    }