Class yii\db\conditions\HashCondition
| Inheritance | yii\db\conditions\HashCondition |
|---|---|
| Implements | yii\db\conditions\ConditionInterface |
| Available since version | 2.0.14 |
| Source Code | https://github.com/yiisoft/yii2/blob/master/framework/db/conditions/HashCondition.php |
Condition based on column-value pairs.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | HashCondition constructor. | yii\db\conditions\HashCondition |
| fromArrayDefinition() | {@inheritdoc} | yii\db\conditions\HashCondition |
| getHash() | yii\db\conditions\HashCondition |
Method Details
HashCondition constructor.
| public void __construct ( $hash ) | ||
| $hash | array|null | |
{@inheritdoc}
| public static void fromArrayDefinition ( $operator, $operands ) | ||
| $operator | ||
| $operands | ||
| public array|null getHash ( ) |
Signup or Login in order to comment.