This class is an abstract base for defining model relationship conditions.
checkCondition(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $objParentModel, array $arrFilter) : bool
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterfaceThe model to check the condition against.
arrayThe condition filter to be applied.
\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralRuntimeException |
When an unknown filter operation is encountered. |
|---|
boolcheckAndFilter(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, array $filter) : bool
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterfaceThe model to check the condition against.
arrayThe filter rules to be applied.
boolcheckOrFilter(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, array $filter) : bool
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterfaceThe model to check the condition against.
arrayThe filter rules to be applied.
boolgetConditionValue(array $condition, \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $parent) : mixed
arrayThe condition array.
mixed