Class yii\debug\models\search\Db

Inheritanceyii\debug\models\search\Db » yii\debug\models\search\Base » yii\base\Model
Available since version2.0

Search model for current request database queries.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$query integer Query attribute input search value yii\debug\models\search\Db
$type string Type of the input search value yii\debug\models\search\Db

Public Methods

Hide inherited methods

MethodDescriptionDefined By
addCondition() Adds filtering condition for a given attribute yii\debug\models\search\Base
attributeLabels() yii\debug\models\search\Db
rules() yii\debug\models\search\Db
search() Returns data provider with filled models. Filter applied if needed. yii\debug\models\search\Db

Property Details

$query public property

Query attribute input search value

public integer $query null
$type public property

Type of the input search value

public string $type null

Method Details

attributeLabels() public method

public void attributeLabels ( )
rules() public method

public void rules ( )
search() public method

Returns data provider with filled models. Filter applied if needed.

public \yii\data\ArrayDataProvider search ( $models )
$models array

Data to return provider for