phpDocumentor

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

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
throws
InvalidSearchConditionException

If given column or table is not allowed.

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

Search results