Condition checking that the value of a property is true.
__clone()
__construct(string $propertyName, bool $strict, int $weight)
stringThe name of the property.
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
stringgetStrict() : boolean
| SuppressWarnings | (PHPMD.BooleanGetMethodName) |
|---|
booleansetPropertyName(string $propertyName) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PropertyTrueCondition
stringThe property name.
setStrict(boolean $strict) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Palette\PropertyTrueCondition
booleanThe flag.
$propertyName : string
$strict : bool