ProductSearchCondition

Extends \GeneralSearchCondition

Class ProductSearchCondition

package

Default

Methods

SearchConditionInterface constructor.

__construct(array $conditions, \SearchConditionStrategyControlInterface $searchConditionStrategyControl) 
inherited

Arguments

$conditions

array

$searchConditionStrategyControl

\SearchConditionStrategyControlInterface

Return the allowed columns as an array.

allowedColumns() : array
inherited static

Response

array

Return the allowed tables as an array.

allowedTables() : array
inherited static

Response

array

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

buildSql() : string
inherited

Response

string

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

createByArray(array $array, null|\SearchConditionStrategyControlInterface $searchConditionStrategyControl = null) : self
inherited 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
inherited static

Arguments

$searchConditionStrategyControl

null|\SearchConditionStrategyControlInterface

Response

self

isAssocArray

isAssocArray(array $array) : boolean
inherited

Arguments

$array

array

Response

boolean

Properties

conditions

conditions : array
inherited
var

Type(s)

array

strategyControl

strategyControl : \SearchConditionStrategyControlInterface
inherited