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

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

보호된 프로퍼티들

프로퍼티 타입 설명
$joinStorageKey string
$metadata Nextras\Orm\Entity\Reflection\PropertyMetadata

공개 메소드들

메소드 설명
__construct ( 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 )

메소드 상세

__construct() 공개 메소드

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

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

프로퍼티 상세

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

protected string $joinStorageKey
리턴 string

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

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