GeneralSearchConditionInterface

Extends

Interface GeneralSearchConditionInterface

package

Default

Methods

SearchConditionInterface constructor.

__construct(array $conditions, \SearchConditionStrategyControlInterface $searchConditionStrategyControl) 

Arguments

$conditions

array

$searchConditionStrategyControl

\SearchConditionStrategyControlInterface

Returns the respective sql where statement (without an beginning "WHERE").

buildSql() : string

Response

string

Return a new object of this class by a given parameterized conditions array.

createByArray(array $array, null|\SearchConditionStrategyControlInterface $searchConditionStrategyControl = null) : self
static

Arguments

$array

array

$searchConditionStrategyControl

null|\SearchConditionStrategyControlInterface

Response

self

Return a new object of this class by a given parameterized conditions json.

createByJson(\NonEmptyStringType $json, null|\SearchConditionStrategyControlInterface $searchConditionStrategyControl = null) : self
static

Arguments

$searchConditionStrategyControl

null|\SearchConditionStrategyControlInterface

Response

self