PHP Class Nextras\Orm\Collection\ArrayCollection

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

Protected Properties

Свойство Type Description
$collectionFilter array
$collectionLimit array | null
$collectionSorter array
$data array
$fetchIterator Iterator
$helper Nextras\Orm\Collection\Helpers\ArrayCollectionHelper
$relationshipMapper Nextras\Orm\Mapper\IRelationshipMapper
$relationshipParent Nextras\Orm\Entity\IEntity
$repository Nextras\Orm\Repository\IRepository

Méthodes publiques

Méthode Description
__call ( $name, $args )
__clone ( )
__construct ( array $data, Nextras\Orm\Repository\IRepository $repository )
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 )

Méthodes protégées

Méthode Description
getHelper ( )
processData ( )

Method Details

__call() public méthode

public __call ( $name, $args )

__clone() public méthode

public __clone ( )

__construct() public méthode

public __construct ( array $data, Nextras\Orm\Repository\IRepository $repository )
$data array
$repository Nextras\Orm\Repository\IRepository

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

getHelper() protected méthode

protected getHelper ( )

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 )

processData() protected méthode

protected processData ( )

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 )

Property Details

$collectionFilter protected_oe property

protected array $collectionFilter
Résultat array

$collectionLimit protected_oe property

protected array|null $collectionLimit
Résultat array | null

$collectionSorter protected_oe property

protected array $collectionSorter
Résultat array

$data protected_oe property

protected array $data
Résultat array

$fetchIterator protected_oe property

protected Iterator $fetchIterator
Résultat Iterator

$helper protected_oe property

protected ArrayCollectionHelper,Nextras\Orm\Collection\Helpers $helper
Résultat Nextras\Orm\Collection\Helpers\ArrayCollectionHelper

$relationshipMapper protected_oe property

protected IRelationshipMapper,Nextras\Orm\Mapper $relationshipMapper
Résultat Nextras\Orm\Mapper\IRelationshipMapper

$relationshipParent protected_oe property

protected IEntity,Nextras\Orm\Entity $relationshipParent
Résultat Nextras\Orm\Entity\IEntity

$repository protected_oe property

protected IRepository,Nextras\Orm\Repository $repository
Résultat Nextras\Orm\Repository\IRepository