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

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

보호된 프로퍼티들

프로퍼티 타입 설명
$cacheCounts int[]
$cacheEntityIterator Nextras\Orm\Collection\IEntityIterator[]
$connection Nextras\Dbal\Connection
$joinStorageKey string
$metadata Nextras\Orm\Entity\Reflection\PropertyMetadata
$targetMapper DbalMapper
$targetRepository Nextras\Orm\Repository\IRepository

공개 메소드들

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

보호된 메소드들

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

비공개 메소드들

메소드 설명
fetchCounts ( Nextras\Dbal\QueryBuilder\QueryBuilder $builder, array $values )
queryAndFetchEntities ( $query, $args )

메소드 상세

__construct() 공개 메소드

public __construct ( Nextras\Dbal\Connection $connection, DbalMapper $targetMapper, PropertyMetadata $metadata )
$connection Nextras\Dbal\Connection
$targetMapper DbalMapper
$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

executeCounts() 보호된 메소드

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

fetchByOnePassStrategy() 보호된 메소드

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

fetchByTwoPassStrategy() 보호된 메소드

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

getIterator() 공개 메소드

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

getIteratorCount() 공개 메소드

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

프로퍼티 상세

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

protected int[] $cacheCounts
리턴 int[]

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

protected IEntityIterator[],Nextras\Orm\Collection $cacheEntityIterator
리턴 Nextras\Orm\Collection\IEntityIterator[]

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

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

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

protected string $joinStorageKey
리턴 string

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

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

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

protected DbalMapper,Nextras\Orm\Mapper\Dbal $targetMapper
리턴 DbalMapper

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

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