PHP 인터페이스 Newscoop\Search\RepositoryInterface

Provides an interface for repositories of which the entities are connected to the Search service.
파일 보기 프로젝트 열기: sourcefabric/newscoop 0 사용 예제들

공개 메소드들

메소드 설명
getBatch ( integer $count = self::BATCH_COUNT, array $filter = null ) : array Get items to process
setIndexedNow ( array $items ) : void Set indexed to now for given items
setIndexedNull ( array $items = null ) : void Set indexed to null for specified items or all when value is null

메소드 상세

getBatch() 공개 메소드

Get items to process
public getBatch ( integer $count = self::BATCH_COUNT, array $filter = null ) : array
$count integer Limit amount of results
$filter array Filter to apply to results
리턴 array

setIndexedNow() 공개 메소드

Set indexed to now for given items
public setIndexedNow ( array $items ) : void
$items array
리턴 void

setIndexedNull() 공개 메소드

Set indexed to null for specified items or all when value is null
public setIndexedNull ( array $items = null ) : void
$items array
리턴 void