메소드 |
설명 |
|
add ( Nextras\Orm\Entity\IEntity | scalar $entity ) : Nextras\Orm\Entity\IEntity |
Adds entity. |
|
countStored ( ) : integer |
Counts collection entities without fetching them from storage. |
|
doPersist ( ) |
DO NOT CALL THIS METHOD DIRECTLY. |
|
get ( ) : Nextras\Orm\Collection\ICollection |
Returns collection of all entity. |
|
getEntitiesForPersistence ( ) : mixed[] |
Returns IEntity or IRelationshipContainer for persistence. |
|
has ( Nextras\Orm\Entity\IEntity | scalar $entity ) : boolean |
|
|
isLoaded ( ) : boolean |
Returns true if colletion was loaded. |
|
isModified ( ) : boolean |
Returns true if relationship is modified. |
|
remove ( Nextras\Orm\Entity\IEntity | scalar $entity ) : Nextras\Orm\Entity\IEntity |
Removes entity. |
|
set ( array $data ) : Nextras\Orm\Relationships\IRelationshipCollection |
Replaces all entities with given ones. |
|
setParent ( Nextras\Orm\Entity\IEntity $parent ) |
|
|