Class DefaultModelRelationshipDefinition
Default implementation of a model relationship definition.
- DcGeneral\DataDefinition\Definition\DefaultModelRelationshipDefinition implements DcGeneral\DataDefinition\Definition\ModelRelationshipDefinitionInterface
Namespace: DcGeneral\DataDefinition\Definition
Package: DcGeneral\DataDefinition\Definition
Located at DataDefinition/Definition/DefaultModelRelationshipDefinition.php
Package: DcGeneral\DataDefinition\Definition
Located at DataDefinition/Definition/DefaultModelRelationshipDefinition.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. |
NAME
|
protected
|
$rootCondition |
|
#
The root condition relationship. |
protected
|
$childConditions | array() |
#
A collection of parent child conditions. |