SearchConditionStrategyTrait

Trait SearchConditionStrategyTrait

package

Default

Methods

Determines the sql attribute and returns it.

getAttribute(array $params, array $allowedColumns, array $allowedTables) : string
Throws
\InvalidSearchConditionException

If given column or table is not allowed.

Arguments

$params

array

$allowedColumns

array

$allowedTables

array

Response

string

Determines the sql value and returns it.

getValue(array $params) : string

Notice: RangeStrategy and InStrategy have their own implementation.

Arguments

$params

array

Response

string