Interface ModelRelationshipDefinitionInterface
This interface describes the relationships between data providers.
It holds a root condition for the root data provider and many parent child relationships.
- DcGeneral\DataDefinition\Definition\ModelRelationshipDefinitionInterface implements DcGeneral\DataDefinition\Definition\DefinitionInterface
Direct known implementers
DcGeneral\DataDefinition\Definition\DefaultModelRelationshipDefinition
Namespace: DcGeneral\DataDefinition\Definition
Package: DcGeneral\DataDefinition\Definition
Located at DataDefinition/Definition/ModelRelationshipDefinitionInterface.php
Package: DcGeneral\DataDefinition\Definition
Located at DataDefinition/Definition/ModelRelationshipDefinitionInterface.php
public
|
#
setRootCondition(
Set the root condition for the current table. |
public
|
|
public
|
#
addChildCondition(
Add a parent child condition. |
public
|
#
getChildCondition( string $srcProvider, string $dstProvider )
Retrieve the parent child condition for the current table. |
public
|
#
getChildConditions( string $srcProvider = '' )
Retrieve the parent child conditions for the current table. |
string |
NAME
|
'model-relationships' |
#
The name of the definition. |