Documentation

Mage_Rule_Model_Resource_Rule_Condition_SqlBuilder
in package

Maho

Tags
copyright

Copyright (c) 2006-2020 Magento, Inc. (https://magento.com)

copyright

Copyright (c) 2022-2023 The OpenMage Contributors (https://openmage.org)

copyright

Copyright (c) 2024 Maho (https://mahocommerce.com)

license

https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)

Table of Contents

Properties

$_adapter  : Varien_Db_Adapter_Interface
Database adapter

Methods

__construct()  : mixed
getOperatorCondition()  : string
Convert operator for sql where

Properties

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>
Return values
string

        
On this page

Search results