PropValue::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('value_id', $this->value_id, true);
        $criteria->compare('type_id', $this->type_id, true);
        $criteria->compare('prop_id', $this->prop_id, true);
        $criteria->compare('value_name', $this->value_name, true);
        $criteria->compare('value_alias', $this->value_alias, true);
        $criteria->compare('is_parent', $this->is_parent);
        $criteria->compare('status', $this->status, true);
        $criteria->compare('sort_order', $this->sort_order);
        return new CActiveDataProvider($this, array('criteria' => $criteria));
    }