PHP Интерфейс Newscoop\Service\IEntityService

Наследование: extends Newscoop\Service\IEntityBaseService
Показать файл Открыть проект

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

Метод Описание
getCount ( Search $search = NULL ) : integer Provides the count of the entities that can be associated with the provided search.
getEntities ( Search $search = NULL, integer | 0 $offset, integer $limit ) : array Provides the all the entities that can be associated with the provided search

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

getCount() публичный метод

Provides the count of the entities that can be associated with the provided search.
public getCount ( Search $search = NULL ) : integer
$search Newscoop\Service\Model\Search\Search The search criteria, not null.
Результат integer The entities count.

getEntities() публичный метод

Provides the all the entities that can be associated with the provided search
public getEntities ( Search $search = NULL, integer | 0 $offset, integer $limit ) : array
$search Newscoop\Service\Model\Search\Search The search criteria, not null.
$offset integer | 0
$limit integer The limit of entities to fetch, negaive value will fetch all entities found.
Результат array The array of entities found.