PHP 인터페이스 Newscoop\Service\IEntityService

상속: extends Newscoop\Service\IEntityBaseService
파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
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.