class Shops extends AbstractCondition

Class Shops

Properties

static string $elementType from AbstractCondition
static string $type
int[] $shops

Methods

setValues( array $values)

No description

string
__toString()

No description

static  string
getElementType()

No description

static  string
getType()

No description

mixed
checkConditionCart( Cart $cart, PriceRule $priceRule, bool|false $throwException = false)

Check if Cart is Valid for Condition.

bool
checkConditionProduct( Product $product, AbstractProductPriceRule $priceRule)

Check if Product is Valid for Condition.

int[]
getShops()

No description

setShops( int[] $shops)

No description

Details

in AbstractActionCondition at line line 36
setValues( array $values)

Parameters

array $values

in AbstractActionCondition at line line 54
string __toString()

Return Value

string

in AbstractActionCondition at line line 62
static string getElementType()

Return Value

string

in AbstractActionCondition at line line 70
static string getType()

Return Value

string

at line line 67
mixed checkConditionCart( Cart $cart, PriceRule $priceRule, bool|false $throwException = false)

Check if Cart is Valid for Condition.

Parameters

Cart $cart
PriceRule $priceRule
bool|false $throwException

Return Value

mixed

Exceptions

Exception

at line line 80
bool checkConditionProduct( Product $product, AbstractProductPriceRule $priceRule)

Check if Product is Valid for Condition.

Parameters

Product $product
AbstractProductPriceRule $priceRule

Return Value

bool

at line line 43
int[] getShops()

Return Value

int[]

at line line 51
setShops( int[] $shops)

Parameters

int[] $shops