Procedure::search PHP Method

    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('term', $this->term, true);
        $criteria->compare('short_format', $this->short_format, true);
        $criteria->compare('default_duration', $this->default_duration);
        return new CActiveDataProvider(get_class($this), array('criteria' => $criteria));
    }