Mage_Rule_Model_Resource_Rule_Condition_SqlBuilder
in package
Maho
Tags
Table of Contents
Properties
- $_adapter : Varien_Db_Adapter_Interface
- Database adapter
Methods
- __construct() : mixed
- getOperatorCondition() : string
- Convert operator for sql where
Properties
$_adapter
Database adapter
protected
Varien_Db_Adapter_Interface
$_adapter
Methods
__construct()
public
__construct([array<string|int, mixed> $config = [] ]) : mixed
Parameters
- $config : array<string|int, mixed> = []
getOperatorCondition()
Convert operator for sql where
public
getOperatorCondition(string $field, string $operator, string|array<string|int, mixed> $value) : string
Parameters
- $field : string
- $operator : string
- $value : string|array<string|int, mixed>