PHP Interface Newscoop\Search\RepositoryInterface

Provides an interface for repositories of which the entities are connected to the Search service.
Afficher le fichier Open project: sourcefabric/newscoop Interface Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

getBatch() public méthode

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
Résultat array

setIndexedNow() public méthode

Set indexed to now for given items
public setIndexedNow ( array $items ) : void
$items array
Résultat void

setIndexedNull() public méthode

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