Class yii\debug\models\search\Base
Inheritance | yii\debug\models\search\Base » yii\base\Model |
---|---|
Subclasses | yii\debug\models\search\Db, yii\debug\models\search\Debug, yii\debug\models\search\Log, yii\debug\models\search\Mail, yii\debug\models\search\Profile, yii\debug\models\timeline\Search |
Available since version | 2.0 |
Base search model
Public Methods
Method | Description | Defined By |
---|---|---|
addCondition() | Adds filtering condition for a given attribute | yii\debug\models\search\Base |
Method Details
Adds filtering condition for a given attribute
public void addCondition ( yii\debug\components\search\Filter $filter, $attribute, $partial = false ) | ||
$filter | yii\debug\components\search\Filter | Filter instance |
$attribute | string | Attribute to filter |
$partial | boolean | If partial match should be used |