PHP Class Storm\Drivers\Base\Mapping\Mappings\RelationshipPropertyRelationMapping

Inheritance: extends PropertyMapping
ファイルを表示 Open project: timetoogo/penumbra Class Usage Examples

Public Methods

Method Description
AddToRelationalRequest ( DomainDatabaseMap $DomainDatabaseMap, Request $RelationalRequest )
GetEntityType ( )
GetRelation ( ) : Storm\Core\Relational\IRelation
GetRelationshipProperty ( ) : Storm\Core\Object\ICollectionProperty
__construct ( Storm\Core\Object\IRelationshipProperty $RelationshipProperty, Storm\Core\Relational\IRelation $Relation )

Protected Methods

Method Description
LoadRelatedRows ( DomainDatabaseMap $DomainDatabaseMap, array $ParentRows, RevivalData $AlreadyKnownRevivalData = null )
MapEntityToRelationalRequest ( DomainDatabaseMap $DomainDatabaseMap, Request $RelationalRequest, RevivalData $AlreadyKnownRevivalData = null )

Method Details

AddToRelationalRequest() final public method

final public AddToRelationalRequest ( DomainDatabaseMap $DomainDatabaseMap, Request $RelationalRequest )
$DomainDatabaseMap Storm\Core\Mapping\DomainDatabaseMap
$RelationalRequest Storm\Core\Relational\Request

GetEntityType() final public method

final public GetEntityType ( )

GetRelation() final public method

final public GetRelation ( ) : Storm\Core\Relational\IRelation
return Storm\Core\Relational\IRelation

GetRelationshipProperty() final public method

final public GetRelationshipProperty ( ) : Storm\Core\Object\ICollectionProperty
return Storm\Core\Object\ICollectionProperty

LoadRelatedRows() final protected method

final protected LoadRelatedRows ( DomainDatabaseMap $DomainDatabaseMap, array $ParentRows, RevivalData $AlreadyKnownRevivalData = null )
$DomainDatabaseMap Storm\Core\Mapping\DomainDatabaseMap
$ParentRows array
$AlreadyKnownRevivalData Storm\Core\Object\RevivalData

MapEntityToRelationalRequest() final protected method

final protected MapEntityToRelationalRequest ( DomainDatabaseMap $DomainDatabaseMap, Request $RelationalRequest, RevivalData $AlreadyKnownRevivalData = null )
$DomainDatabaseMap Storm\Core\Mapping\DomainDatabaseMap
$RelationalRequest Storm\Core\Relational\Request
$AlreadyKnownRevivalData Storm\Core\Object\RevivalData

__construct() public method

public __construct ( Storm\Core\Object\IRelationshipProperty $RelationshipProperty, Storm\Core\Relational\IRelation $Relation )
$RelationshipProperty Storm\Core\Object\IRelationshipProperty
$Relation Storm\Core\Relational\IRelation