Methods
SearchConditionSettings constructor.
__construct(array $strategies, array $allowedColumns, array $allowedTables)
Returns the allowed columns as an array.
allowedColumns() : array
Returns the tables as an array.
allowedTables() : array
Return a new object of this class.
create(array|null $allowedColumns = null, array|null $allowedTables = null, array|null $strategies = null) : self
static
Arguments
$allowedColumns
array|null
$allowedTables
array|null
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
Response
string
Determines the sql value and returns it.
getValue(array $params) : string
inherited
Notice: RangeStrategy and InStrategy have their own implementation.
Arguments
Response
string
Returns the strategies as an array.
strategies() : array
Properties
strategies
strategies : array
allowedColumns
allowedColumns : array
allowedTables
allowedTables : array