ObjectMeta::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('meta_id', $this->meta_id, true);
        $criteria->compare('meta_object_id', $this->meta_object_id, true);
        $criteria->compare('meta_key', $this->meta_key, true);
        $criteria->compare('meta_value', $this->meta_value, true);
        return new CActiveDataProvider($this, array('criteria' => $criteria));
    }