SearchConditionLikeStrategy

Implements \SearchConditionStrategyInterface

Class SearchConditionLikeStrategy

package

Default

Methods

Return a new object of this class.

create() : self
static

Response

self

Determines the sql attribute and returns it.

getAttribute(array $params, array $allowedColumns, array $allowedTables) : string
inherited
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
inherited

Notice: RangeStrategy and InStrategy have their own implementation.

Arguments

$params

array

Response

string

Parses the given params and returns the respective sql statement.

proceed(\SearchConditionStrategyControl $strategyControl, array $params) : string
Throws
\Exception

Arguments

$params

array

Response

string