Overview

Namespaces

  • DcGeneral
    • Clipboard
    • Contao
      • Callback
      • Compatibility
      • DataDefinition
        • Definition
      • Dca
        • Builder
          • Legacy
        • Definition
        • Palette
        • Populator
      • Event
      • View
        • Contao2BackendView
          • Event
    • Controller
    • Data
    • DataDefinition
      • Builder
      • Definition
        • Properties
        • View
          • Panel
      • ModelRelationship
      • Palette
        • Builder
          • Event
        • Condition
          • Palette
          • Property
    • EnvironmentPopulator
    • Event
    • Exception
    • Factory
      • Event
    • Panel
    • View
      • Event

Classes

  • AbstractWeightAwarePaletteCondition
  • DefaultPaletteCondition
  • PaletteConditionChain
  • PropertyFalseCondition
  • PropertyTrueCondition
  • PropertyValueCondition

Interfaces

  • PaletteConditionInterface
  • WeightAwarePaletteConditionInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class DefaultPaletteCondition

Condition for the default palette.

DcGeneral\DataDefinition\Palette\Condition\Palette\DefaultPaletteCondition implements DcGeneral\DataDefinition\Palette\Condition\Palette\PaletteConditionInterface
Namespace: DcGeneral\DataDefinition\Palette\Condition\Palette
Located at DataDefinition/Palette/Condition/Palette/DefaultPaletteCondition.php
Methods summary
public boolean
# getMatchCount( DcGeneral\Data\ModelInterface $model = null, DcGeneral\Data\PropertyValueBag $input = null )

Calculate how "strong" (aka "count of matches") this condition match the model and input parameters.

Calculate how "strong" (aka "count of matches") this condition match the model and input parameters.

Parameters

$model
DcGeneral\Data\ModelInterface|null
$model If given, selectors will be evaluated depending on the model.
$input
DcGeneral\Data\PropertyValueBag
$input If given, selectors will be evaluated depending on the input data.

Returns

boolean

Implementation of

DcGeneral\DataDefinition\Palette\Condition\Palette\PaletteConditionInterface::getMatchCount()
public
# __clone( )

Create a deep clone of the condition.

Create a deep clone of the condition.

Implementation of

DcGeneral\DataDefinition\Palette\Condition\Palette\PaletteConditionInterface::__clone()
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0