PHP Class Storm\Drivers\Base\Object\Properties\RelationshipProperty

Inheritance: extends Property, implements Storm\Core\Object\IRelationshipProperty
显示文件 Open project: timetoogo/penumbra Class Usage Examples

Protected Properties

Property Type Description
$ProxyGenerator Storm\Drivers\Base\Object\Properties\Proxies\IProxyGenerator | null

Public Methods

Method Description
GetBackReferenceProperty ( ) : Storm\Core\Object\IProperty
GetEntityType ( )
GetProxyGenerator ( )
HasProxyGenerator ( )
IsIdentifying ( )
Revive ( Domain $Domain, $PropertyValue, $Entity )
ReviveValue ( Domain $Domain, $Entity, $PropertyRevivalValue )
SetProxyGenerator ( Storm\Drivers\Base\Object\Properties\Proxies\IProxyGenerator $ProxyGenerator )
__construct ( Accessor $Accessor, $EntityType, $IsIdentifying, Storm\Core\Object\IProperty $BackReferenceProperty = null, Storm\Drivers\Base\Object\Properties\Proxies\IProxyGenerator $ProxyGenerator = null )

Protected Methods

Method Description
GetEntityRelationshipData ( $ParentEntity )
GetOriginalValue ( $Entity )
HasOriginalValue ( $Entity )
IsValidEntity ( $Entity )
ProxyGeneratorIsRequired ( )
ReviveArrayOfLazyRevivalData ( Domain $Domain, $Entity, array $LazyRevivalDataArray )
ReviveArrayOfRevivalData ( Domain $Domain, $Entity, array $RevivalDataArray )
ReviveLazyRevivalData ( Domain $Domain, $Entity, LazyRevivalData $LazyRevivalData )
ReviveMultipleLazyRevivalData ( Domain $Domain, $Entity, MultipleLazyRevivalData $MultipleLazyRevivalData )
ReviveNull ( Domain $Domain, $Entity )
ReviveRevivalData ( Domain $Domain, $Entity, RevivalData $RevivalData )

Private Methods

Method Description
AddBackReference ( RevivalData $RevivalData, $ParentEntity )
AddBackReferences ( array $RevivalDataArray, $ParentEntity )
IsAll ( array $Values, callable $Filter )
Unimplemented ( $Method )

Method Details

GetBackReferenceProperty() final public method

final public GetBackReferenceProperty ( ) : Storm\Core\Object\IProperty
return Storm\Core\Object\IProperty

GetEntityRelationshipData() final protected method

final protected GetEntityRelationshipData ( $ParentEntity )

GetEntityType() final public method

final public GetEntityType ( )

GetOriginalValue() final protected method

final protected GetOriginalValue ( $Entity )

GetProxyGenerator() final public method

final public GetProxyGenerator ( )

HasOriginalValue() final protected method

final protected HasOriginalValue ( $Entity )

HasProxyGenerator() final public method

final public HasProxyGenerator ( )

IsIdentifying() final public method

final public IsIdentifying ( )

IsValidEntity() final protected method

final protected IsValidEntity ( $Entity )

ProxyGeneratorIsRequired() final protected method

final protected ProxyGeneratorIsRequired ( )

Revive() final public method

final public Revive ( Domain $Domain, $PropertyValue, $Entity )
$Domain Storm\Core\Object\Domain

ReviveArrayOfLazyRevivalData() protected method

protected ReviveArrayOfLazyRevivalData ( Domain $Domain, $Entity, array $LazyRevivalDataArray )
$Domain Storm\Core\Object\Domain
$LazyRevivalDataArray array

ReviveArrayOfRevivalData() protected method

protected ReviveArrayOfRevivalData ( Domain $Domain, $Entity, array $RevivalDataArray )
$Domain Storm\Core\Object\Domain
$RevivalDataArray array

ReviveLazyRevivalData() protected method

protected ReviveLazyRevivalData ( Domain $Domain, $Entity, LazyRevivalData $LazyRevivalData )
$Domain Storm\Core\Object\Domain
$LazyRevivalData Storm\Drivers\Base\Object\LazyRevivalData

ReviveMultipleLazyRevivalData() protected method

protected ReviveMultipleLazyRevivalData ( Domain $Domain, $Entity, MultipleLazyRevivalData $MultipleLazyRevivalData )
$Domain Storm\Core\Object\Domain
$MultipleLazyRevivalData Storm\Drivers\Base\Object\MultipleLazyRevivalData

ReviveNull() protected method

protected ReviveNull ( Domain $Domain, $Entity )
$Domain Storm\Core\Object\Domain

ReviveRevivalData() protected method

protected ReviveRevivalData ( Domain $Domain, $Entity, RevivalData $RevivalData )
$Domain Storm\Core\Object\Domain
$RevivalData Storm\Core\Object\RevivalData

ReviveValue() final public method

final public ReviveValue ( Domain $Domain, $Entity, $PropertyRevivalValue )
$Domain Storm\Core\Object\Domain

SetProxyGenerator() final public method

final public SetProxyGenerator ( Storm\Drivers\Base\Object\Properties\Proxies\IProxyGenerator $ProxyGenerator )
$ProxyGenerator Storm\Drivers\Base\Object\Properties\Proxies\IProxyGenerator

__construct() public method

public __construct ( Accessor $Accessor, $EntityType, $IsIdentifying, Storm\Core\Object\IProperty $BackReferenceProperty = null, Storm\Drivers\Base\Object\Properties\Proxies\IProxyGenerator $ProxyGenerator = null )
$Accessor Storm\Drivers\Base\Object\Properties\Accessors\Accessor
$BackReferenceProperty Storm\Core\Object\IProperty
$ProxyGenerator Storm\Drivers\Base\Object\Properties\Proxies\IProxyGenerator

Property Details

$ProxyGenerator protected_oe property

protected IProxyGenerator,Storm\Drivers\Base\Object\Properties\Proxies|null $ProxyGenerator
return Storm\Drivers\Base\Object\Properties\Proxies\IProxyGenerator | null