PHP Interface Newscoop\Service\IEntityService

Inheritance: extends Newscoop\Service\IEntityBaseService
Afficher le fichier Open project: sourcefabric/newscoop

Méthodes publiques

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

Method Details

getCount() public méthode

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.
Résultat integer The entities count.

getEntities() public méthode

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.
Résultat array The array of entities found.