OEModule\OphCiExamination\models\Element_OphCiExamination_Gonioscopy::search PHP Метод

    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_gonio_sup_id', $this->left_gonio_sup_id, true);
        $criteria->compare('left_gonio_tem_id', $this->left_gonio_tem_id, true);
        $criteria->compare('left_gonio_nas_id', $this->left_gonio_nas_id, true);
        $criteria->compare('left_gonio_inf_id', $this->left_gonio_inf_id, true);
        $criteria->compare('right_gonio_sup_id', $this->right_gonio_sup_id, true);
        $criteria->compare('right_gonio_tem_id', $this->right_gonio_tem_id, true);
        $criteria->compare('right_gonio_nas_id', $this->right_gonio_nas_id, true);
        $criteria->compare('right_gonio_inf_id', $this->right_gonio_inf_id, true);
        $criteria->compare('left_van_herick_id', $this->left_van_herick_id, true);
        $criteria->compare('right_van_herick_id', $this->right_van_herick_id, true);
        $criteria->compare('left_description', $this->left_description, true);
        $criteria->compare('right_description', $this->right_description, true);
        $criteria->compare('left_eyedraw', $this->left_eyedraw, true);
        $criteria->compare('right_eyedraw', $this->right_eyedraw, true);
        return new \CActiveDataProvider(get_class($this), array('criteria' => $criteria));
    }