PHP Class Nextras\Orm\Mapper\Memory\RelationshipMapperManyHasMany

Inheritance: extends Nette\Object, implements Nextras\Orm\Mapper\IRelationshipMapperManyHasMany
Afficher le fichier Open project: nextras/orm

Protected Properties

Свойство Type Description
$mapper ArrayMapper
$metadata Nextras\Orm\Entity\Reflection\PropertyMetadata

Méthodes publiques

Méthode Description
__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 )

Method Details

__construct() public méthode

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

add() public méthode

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

getIterator() public méthode

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

getIteratorCount() public méthode

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

remove() public méthode

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

Property Details

$mapper protected_oe property

protected ArrayMapper,Nextras\Orm\Mapper\Memory $mapper
Résultat ArrayMapper

$metadata protected_oe property

protected PropertyMetadata,Nextras\Orm\Entity\Reflection $metadata
Résultat Nextras\Orm\Entity\Reflection\PropertyMetadata