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