This interface holds the information how a parent model relates to a child model.
applyTo(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $objParent, \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $objChild) : void
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterfaceThe object on which the condition shall be enforced on.
copyFrom(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $sourceModel, \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $destinationModel) : void
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterfaceThe model on which the condition shall be enforced on.
getDestinationName() : string
stringgetFilter(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $objParent) : array
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterfaceThe model that shall get used as parent.
arraygetFilterArray() : array
arraygetInverseFilterArray() : array
arraygetInverseFilterFor(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $objChild) : array | null
\ContaoCommunityAlliance\DcGeneral\Data\ModelInterfaceThe model that shall get used as child and for which the parent filter shall get retrieved.
arraynull
getSetters() : array
arraygetSourceName() : string
stringmatches(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $objParent, \ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $objChild) : bool
boolneededProperties() : array
arraysetDestinationName(string $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\ModelRelationship\ParentChildConditionInterface
stringThe name of the provider.
setFilterArray(array $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\ModelRelationship\ParentChildConditionInterface
arrayThe filter rules describing the relationship.
setInverseFilterArray(array $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\ModelRelationship\ParentChildConditionInterface
arrayThe filter rules to use when inverting the condition to look up the parent.
setSetters(array $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\ModelRelationship\ParentChildConditionInterface
arrayThe values to be applied to a model when it shall get set as child of another one.
setSourceName(string $value) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\ModelRelationship\ParentChildConditionInterface
stringThe name of the provider.