PHP Класс Nextras\Orm\Collection\ArrayCollection

Наследование: implements Nextras\Orm\Collection\ICollection
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__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 )

Защищенные методы

Метод Описание
getHelper ( )
processData ( )

Описание методов

__call() публичный Метод

public __call ( $name, $args )

__clone() публичный Метод

public __clone ( )

__construct() публичный Метод

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

count() публичный Метод

public count ( )

countStored() публичный Метод

public countStored ( )

fetch() публичный Метод

public fetch ( )

fetchAll() публичный Метод

public fetchAll ( )

fetchPairs() публичный Метод

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

findBy() публичный Метод

public findBy ( array $where )
$where array

getBy() публичный Метод

public getBy ( array $where )
$where array

getEntityCount() публичный Метод

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

getEntityIterator() публичный Метод

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

getHelper() защищенный Метод

protected getHelper ( )

getIterator() публичный Метод

public getIterator ( )

getRelationshipMapper() публичный Метод

limitBy() публичный Метод

public limitBy ( $limit, $offset = null )

orderBy() публичный Метод

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

processData() защищенный Метод

protected processData ( )

resetOrderBy() публичный Метод

public resetOrderBy ( )

setRelationshipMapping() публичный Метод

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 toCollection ( $resetOrderBy = false )

Описание свойств

$collectionFilter защищенное свойство

protected array $collectionFilter
Результат array

$collectionLimit защищенное свойство

protected array|null $collectionLimit
Результат array | null

$collectionSorter защищенное свойство

protected array $collectionSorter
Результат array

$data защищенное свойство

protected array $data
Результат array

$fetchIterator защищенное свойство

protected Iterator $fetchIterator
Результат Iterator

$helper защищенное свойство

protected ArrayCollectionHelper,Nextras\Orm\Collection\Helpers $helper
Результат Nextras\Orm\Collection\Helpers\ArrayCollectionHelper

$relationshipMapper защищенное свойство

protected IRelationshipMapper,Nextras\Orm\Mapper $relationshipMapper
Результат Nextras\Orm\Mapper\IRelationshipMapper

$relationshipParent защищенное свойство

protected IEntity,Nextras\Orm\Entity $relationshipParent
Результат Nextras\Orm\Entity\IEntity

$repository защищенное свойство

protected IRepository,Nextras\Orm\Repository $repository
Результат Nextras\Orm\Repository\IRepository