PHP 클래스 Nextras\Orm\Mapper\Dbal\RelationshipMapperManyHasOne

상속: extends Nette\Object, implements Nextras\Orm\Mapper\IRelationshipMapper
파일 보기 프로젝트 열기: nextras/orm

보호된 프로퍼티들

프로퍼티 타입 설명
$cacheEntityContainers Nextras\Orm\Collection\EntityContainer[]
$connection Nextras\Dbal\Connection
$metadata Nextras\Orm\Entity\Reflection\PropertyMetadata
$targetRepository Nextras\Orm\Repository\IRepository

공개 메소드들

메소드 설명
__construct ( Nextras\Dbal\Connection $connection, Nextras\Orm\Mapper\IMapper $targetMapper, PropertyMetadata $metadata )
getIterator ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection )
getIteratorCount ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection )

보호된 메소드들

메소드 설명
calculateCacheKey ( Nextras\Dbal\QueryBuilder\QueryBuilder $builder, array $values )
execute ( DbalCollection $collection, Nextras\Orm\Entity\IEntity $parent )
fetch ( Nextras\Dbal\QueryBuilder\QueryBuilder $builder, $hasJoin, array $values )

메소드 상세

__construct() 공개 메소드

public __construct ( Nextras\Dbal\Connection $connection, Nextras\Orm\Mapper\IMapper $targetMapper, PropertyMetadata $metadata )
$connection Nextras\Dbal\Connection
$targetMapper Nextras\Orm\Mapper\IMapper
$metadata Nextras\Orm\Entity\Reflection\PropertyMetadata

calculateCacheKey() 보호된 메소드

protected calculateCacheKey ( Nextras\Dbal\QueryBuilder\QueryBuilder $builder, array $values )
$builder Nextras\Dbal\QueryBuilder\QueryBuilder
$values array

execute() 보호된 메소드

protected execute ( DbalCollection $collection, Nextras\Orm\Entity\IEntity $parent )
$collection DbalCollection
$parent Nextras\Orm\Entity\IEntity

fetch() 보호된 메소드

protected fetch ( Nextras\Dbal\QueryBuilder\QueryBuilder $builder, $hasJoin, array $values )
$builder Nextras\Dbal\QueryBuilder\QueryBuilder
$values array

getIterator() 공개 메소드

public getIterator ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection )
$parent Nextras\Orm\Entity\IEntity
$collection Nextras\Orm\Collection\ICollection

getIteratorCount() 공개 메소드

public getIteratorCount ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection )
$parent Nextras\Orm\Entity\IEntity
$collection Nextras\Orm\Collection\ICollection

프로퍼티 상세

$cacheEntityContainers 보호되어 있는 프로퍼티

protected EntityContainer[],Nextras\Orm\Collection $cacheEntityContainers
리턴 Nextras\Orm\Collection\EntityContainer[]

$connection 보호되어 있는 프로퍼티

protected Connection,Nextras\Dbal $connection
리턴 Nextras\Dbal\Connection

$metadata 보호되어 있는 프로퍼티

protected PropertyMetadata,Nextras\Orm\Entity\Reflection $metadata
리턴 Nextras\Orm\Entity\Reflection\PropertyMetadata

$targetRepository 보호되어 있는 프로퍼티

protected IRepository,Nextras\Orm\Repository $targetRepository
리턴 Nextras\Orm\Repository\IRepository