CoolCMS API

ParameterRuleTargetInterface

Rule target. Which fields are filled determines the effect (not `ParameterRuleInterface::getAction()`):

  • optionId reveals these select options (handled by DependentSelectTrait),
  • parameterId (and optionId == null) toggles a field or makes it conditionally required (RulesTrait),
  • parameterGroupId (and optionId == null) toggles a group or makes it conditionally required (RulesTrait).

Table of Contents

Methods

getOptionId()  : int|null
getParameterGroupId()  : int|null
getParameterId()  : int|null

Methods

On this page

Search results