Callback::search PHP Method

    public function search()
    {
        $criteria = new CDbCriteria();
        $criteria->compare('id', $this->id);
        $criteria->compare('comment', $this->comment, true);
        $criteria->compare('name', $this->name, true);
        $criteria->compare('phone', $this->phone, true);
        $criteria->compare('time', $this->time, true);
        $criteria->compare('status', $this->status);
        $criteria->compare('create_time', $this->create_time, true);
        return new CActiveDataProvider($this, ['criteria' => $criteria, 'sort' => ['defaultOrder' => 'id DESC']]);
    }