Condition checking that the value of a property is the same as a passed value.
__clone()
__construct(string $propertyName, mixed $propertyValue, bool $strict, int $weight)
string
The name of the property.
mixed
The value of the property to match.
bool
Flag if the comparison shall be strict (type safe).
int
The weight of this condition to apply.
getMatchCount(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, \ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag $input)
getPropertyName() : string
string
getPropertyValue() : mixed
mixed
getStrict() : boolean
SuppressWarnings | (PHPMD.BooleanGetMethodName) |
---|
boolean
setPropertyName(string $propertyName) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PropertyValueCondition
string
The property name.
setPropertyValue(mixed $propertyValue) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PropertyValueCondition
mixed
The value.
setStrict(boolean $strict) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PropertyValueCondition
boolean
The flag.
$propertyName : string
$propertyValue : mixed
$strict : bool