Documentation

PdbCompoundCondition
in package
implements PdbConditionInterface

Table of Contents

Interfaces

PdbConditionInterface

Constants

AND  : mixed = 'AND'
COMPOUNDS  : mixed = [self::OR, self::AND, self::XOR]
NOT  : mixed = 'NOT'
NOT_OR  : mixed = 'NOT OR'
OPERATORS  : mixed = [self::NOT, self::NOT_OR, self::OR, self::AND,...
OR  : mixed = 'OR'
XOR  : mixed = 'XOR'

Properties

$compound  : string
$conditions  : array<string|int, PdbConditionInterface>

Methods

__construct()  : mixed
Create a condition.
__toString()  : mixed
build()  : string
Build an appropriate SQL clause for this condition.
getPreviewSql()  : string
validate()  : void
Validate this condition.

Constants

OPERATORS

public mixed OPERATORS = [self::NOT, self::NOT_OR, self::OR, self::AND, self::XOR]

Properties

Methods

build()

Build an appropriate SQL clause for this condition.

public build(Pdb $pdb, array<string|int, mixed> &$values) : string
Parameters
$pdb : Pdb
$values : array<string|int, mixed>
Tags
inheritdoc
Return values
string
On this page

Search results