Default implementation of a root condition.

It implements a basic condition check.

 Methods

{@inheritdoc}

applyTo($objModel) 

Parameters

$objModel

Exceptions

\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralRuntimeException When an incomplete rule is encountered in the setters.

{@inheritdoc}

getFilterArray() 

{@inheritdoc}

getSetters() 

{@inheritdoc}

getSourceName() 

{@inheritdoc}

matches($objModel) 

Parameters

$objModel

{@inheritdoc}

setFilterArray($value) 

Parameters

$value

{@inheritdoc}

setSetters($value) 

Parameters

$value

{@inheritdoc}

setSourceName($value) 

Parameters

$value

 Properties

 

The filter rules to use.

$filter : array
 

The setter information to use when a model shall get marked as root item.

$setOn : array
 

The name of the table this condition is being applied to.

$sourceProvider : string