Property | Type | Description | |
---|---|---|---|
$data | Nextras\Orm\Entity\IEntity[] | null | ||
$dataToStore | array | ||
$lock | resource | ||
$relationshipData | array |
Method | Description | |
---|---|---|
clearCollectionCache ( ) | ||
createCollectionManyHasMany ( Nextras\Orm\Mapper\IMapper $mapperTwo, |
||
createCollectionManyHasOne ( |
||
createCollectionOneHasMany ( |
||
createCollectionOneHasOne ( |
||
findAll ( ) | ||
flush ( ) | ||
getRelationshipDataStorage ( $key ) | ||
persist ( Nextras\Orm\Entity\IEntity $entity ) | ||
remove ( Nextras\Orm\Entity\IEntity $entity ) | ||
rollback ( ) | ||
toCollection ( $data ) |
Method | Description | |
---|---|---|
createStorageReflection ( ) | ||
entityToArray ( Nextras\Orm\Entity\IEntity $entity ) | ||
getData ( ) | ||
initializeData ( ) | ||
lock ( ) | ||
readData ( ) : array | Reads stored data | |
readEntityData ( ) | ||
saveData ( array $data ) | Stores data | |
saveEntityData ( array $data ) | ||
unlock ( ) |
public createCollectionManyHasMany ( Nextras\Orm\Mapper\IMapper $mapperTwo, |
||
$mapperTwo | Nextras\Orm\Mapper\IMapper | |
$metadata | ||
$parent | Nextras\Orm\Entity\IEntity |
public createCollectionManyHasOne ( |
||
$metadata | ||
$parent | Nextras\Orm\Entity\IEntity |
public createCollectionOneHasMany ( |
||
$metadata | ||
$parent | Nextras\Orm\Entity\IEntity |
public createCollectionOneHasOne ( |
||
$metadata | ||
$parent | Nextras\Orm\Entity\IEntity |
protected entityToArray ( Nextras\Orm\Entity\IEntity $entity ) | ||
$entity | Nextras\Orm\Entity\IEntity |
public persist ( Nextras\Orm\Entity\IEntity $entity ) | ||
$entity | Nextras\Orm\Entity\IEntity |
public remove ( Nextras\Orm\Entity\IEntity $entity ) | ||
$entity | Nextras\Orm\Entity\IEntity |
protected IEntity[],Nextras\Orm\Entity|null $data | ||
return | Nextras\Orm\Entity\IEntity[] | null |