Class yii\debug\models\search\Db
Inheritance | yii\debug\models\search\Db » yii\debug\models\search\Base » yii\base\Model |
---|---|
Available since version | 2.0 |
Search model for current request database queries.
Public Properties
Property | Type | Description | Defined 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
Method | Description | Defined 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
Method Details
public void attributeLabels ( ) |
public void rules ( ) |
Returns data provider with filled models. Filter applied if needed.
public \yii\data\ArrayDataProvider search ( $models ) | ||
$models | array | Data to return provider for |