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