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

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

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
__construct ( PropertyMetadata $metadata, ArrayMapper $mapper )
add ( Nextras\Orm\Entity\IEntity $parent, array $add )
getIterator ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection )
getIteratorCount ( Nextras\Orm\Entity\IEntity $parent, Nextras\Orm\Collection\ICollection $collection )
remove ( Nextras\Orm\Entity\IEntity $parent, array $remove )

메소드 상세

__construct() 공개 메소드

public __construct ( PropertyMetadata $metadata, ArrayMapper $mapper )
$metadata Nextras\Orm\Entity\Reflection\PropertyMetadata
$mapper ArrayMapper

add() 공개 메소드

public add ( Nextras\Orm\Entity\IEntity $parent, array $add )
$parent Nextras\Orm\Entity\IEntity
$add 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

remove() 공개 메소드

public remove ( Nextras\Orm\Entity\IEntity $parent, array $remove )
$parent Nextras\Orm\Entity\IEntity
$remove array

프로퍼티 상세

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

protected ArrayMapper,Nextras\Orm\Mapper\Memory $mapper
리턴 ArrayMapper

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

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