PHP Class Nextras\Orm\Collection\EmptyCollection

Inheritance: implements Nextras\Orm\Collection\ICollection
Afficher le fichier Open project: nextras/orm

Méthodes publiques

Méthode Description
count ( )
countStored ( )
fetch ( )
fetchAll ( )
fetchPairs ( $key = null, $value = null )
findBy ( array $where )
getBy ( array $where )
getEntityCount ( Nextras\Orm\Entity\IEntity $parent = null )
getEntityIterator ( Nextras\Orm\Entity\IEntity $parent = null )
getIterator ( )
getRelationshipMapper ( )
limitBy ( $limit, $offset = null )
orderBy ( $column, $direction = self::ASC )
resetOrderBy ( )
setRelationshipMapping ( Nextras\Orm\Mapper\IRelationshipMapper $mapper = null, Nextras\Orm\Entity\IEntity $parent = null )
toCollection ( $resetOrderBy = false )

Method Details

count() public méthode

public count ( )

countStored() public méthode

public countStored ( )

fetch() public méthode

public fetch ( )

fetchAll() public méthode

public fetchAll ( )

fetchPairs() public méthode

public fetchPairs ( $key = null, $value = null )

findBy() public méthode

public findBy ( array $where )
$where array

getBy() public méthode

public getBy ( array $where )
$where array

getEntityCount() public méthode

public getEntityCount ( Nextras\Orm\Entity\IEntity $parent = null )
$parent Nextras\Orm\Entity\IEntity

getEntityIterator() public méthode

public getEntityIterator ( Nextras\Orm\Entity\IEntity $parent = null )
$parent Nextras\Orm\Entity\IEntity

getIterator() public méthode

public getIterator ( )

getRelationshipMapper() public méthode

limitBy() public méthode

public limitBy ( $limit, $offset = null )

orderBy() public méthode

public orderBy ( $column, $direction = self::ASC )

resetOrderBy() public méthode

public resetOrderBy ( )

setRelationshipMapping() public méthode

public setRelationshipMapping ( Nextras\Orm\Mapper\IRelationshipMapper $mapper = null, Nextras\Orm\Entity\IEntity $parent = null )
$mapper Nextras\Orm\Mapper\IRelationshipMapper
$parent Nextras\Orm\Entity\IEntity

toCollection() public méthode

Deprecation:
public toCollection ( $resetOrderBy = false )