PHP Class Nextras\Orm\Collection\EmptyCollection

Inheritance: implements Nextras\Orm\Collection\ICollection
Datei anzeigen Open project: nextras/orm

Public Methods

Method 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 method

public count ( )

countStored() public method

public countStored ( )

fetch() public method

public fetch ( )

fetchAll() public method

public fetchAll ( )

fetchPairs() public method

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

findBy() public method

public findBy ( array $where )
$where array

getBy() public method

public getBy ( array $where )
$where array

getEntityCount() public method

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

getEntityIterator() public method

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

getIterator() public method

public getIterator ( )

getRelationshipMapper() public method

limitBy() public method

public limitBy ( $limit, $offset = null )

orderBy() public method

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

resetOrderBy() public method

public resetOrderBy ( )

setRelationshipMapping() public method

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 method

Deprecation:
public toCollection ( $resetOrderBy = false )