Метод |
Описание |
|
clearCollectionCache ( ) |
Clears cache object for collection. |
|
createCollectionManyHasMany ( Nextras\Orm\Mapper\IMapper $mapper, PropertyMetadata $metadata, Nextras\Orm\Entity\IEntity $parent ) : Nextras\Orm\Collection\ICollection |
Creates collection with ManyHasMany mapper. |
|
createCollectionManyHasOne ( PropertyMetadata $metadata, Nextras\Orm\Entity\IEntity $parent ) : Nextras\Orm\Collection\ICollection |
Creates collection with HasOne mapper. |
|
createCollectionOneHasMany ( PropertyMetadata $metadata, Nextras\Orm\Entity\IEntity $parent ) : Nextras\Orm\Collection\ICollection |
Creates collection with OneHasMany mapper. |
|
createCollectionOneHasOne ( PropertyMetadata $metadata, Nextras\Orm\Entity\IEntity $parent ) : Nextras\Orm\Collection\ICollection |
Creates collection with OneHasOneDirected mapper. |
|
findAll ( ) : Nextras\Orm\Collection\ICollection |
Returns all entities. |
|
flush ( ) : void |
|
|
getCollectionCache ( ) : stdClass |
Returns cache object for collections. |
|
getRepository ( ) : Nextras\Orm\Repository\IRepository |
|
|
getStorageReflection ( ) : Nextras\Orm\StorageReflection\IStorageReflection |
|
|
getTableName ( ) : string |
|
|
persist ( Nextras\Orm\Entity\IEntity $entity ) : Nextras\Orm\Entity\IEntity |
|
|
remove ( Nextras\Orm\Entity\IEntity $entity ) : boolean |
|
|
rollback ( ) : void |
|
|
setRepository ( Nextras\Orm\Repository\IRepository $repository ) |
|
|
toCollection ( $data ) : Nextras\Orm\Collection\ICollection |
Transforms value from mapper, which is not a collection. |
|