SearchConditionNotStrategy
in package
implements
SearchConditionStrategyInterface
Uses
SearchConditionStrategyTrait
Class SearchConditionNotStrategy
Interfaces, Classes and Traits
- SearchConditionStrategyInterface
- Interface SearchConditionStrategyInterface
Table of Contents
- create() : self
- Return a new object of this class.
- proceed() : string
- Parses the given params and returns the respective sql statement.
- getAttribute() : string
- Determines the sql attribute and returns it.
- getValue() : string
- Determines the sql value and returns it.
Methods
create()
Return a new object of this class.
public
static create() : self
Return values
self —proceed()
Parses the given params and returns the respective sql statement.
public
proceed(SearchConditionStrategyControl $strategyControl, array<string|int, mixed> $params) : string
Parameters
- $strategyControl : SearchConditionStrategyControl
- $params : array<string|int, mixed>
Tags
Return values
string —getAttribute()
Determines the sql attribute and returns it.
protected
getAttribute(array<string|int, mixed> $params, array<string|int, mixed> $allowedColumns, array<string|int, mixed> $allowedTables) : string
Parameters
- $params : array<string|int, mixed>
- $allowedColumns : array<string|int, mixed>
- $allowedTables : array<string|int, mixed>
Tags
Return values
string —getValue()
Determines the sql value and returns it.
protected
getValue(array<string|int, mixed> $params) : string
Notice: RangeStrategy and InStrategy have their own implementation.
Parameters
- $params : array<string|int, mixed>