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)
stringThe name of the property.
mixedThe value of the property to match.
boolFlag if the comparison shall be strict (type safe).
intThe weight of this condition to apply.
getMatchCount(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, \ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag $input)
getPropertyName() : string
stringgetPropertyValue() : mixed
mixedgetStrict() : boolean
| SuppressWarnings | (PHPMD.BooleanGetMethodName) |
|---|
booleansetPropertyName(string $propertyName) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PropertyValueCondition
stringThe property name.
setPropertyValue(mixed $propertyValue) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PropertyValueCondition
mixedThe value.
setStrict(boolean $strict) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PropertyValueCondition
booleanThe flag.
$propertyName : string
$propertyValue : mixed
$strict : bool