PHP Class Newscoop\User\SearchService

Inheritance: implements Newscoop\Search\ServiceInterface
Afficher le fichier Open project: sourcefabric/newscoop

Protected Properties

Свойство Type Description
$imageService Newscoop\Image\ImageService

Méthodes publiques

Méthode Description
__construct ( ImageService $imageService )
getDocument ( Newscoop\Search\DocumentInterface $user ) : array Get document representation for user
getDocumentId ( Newscoop\Search\DocumentInterface $user ) : string Get document id
getSubType ( Newscoop\Search\DocumentInterface $user ) : string Return sub type for the document
getType ( ) : string Return type for this search service
isIndexable ( Newscoop\Search\DocumentInterface $user ) : boolean Test if user can be indexed
isIndexed ( Newscoop\Search\DocumentInterface $user ) : boolean Test if user is indexed

Method Details

__construct() public méthode

public __construct ( ImageService $imageService )
$imageService Newscoop\Image\ImageService

getDocument() public méthode

Get document representation for user
public getDocument ( Newscoop\Search\DocumentInterface $user ) : array
$user Newscoop\Search\DocumentInterface
Résultat array

getDocumentId() public méthode

Get document id
public getDocumentId ( Newscoop\Search\DocumentInterface $user ) : string
$user Newscoop\Search\DocumentInterface
Résultat string

getSubType() public méthode

Return sub type for the document
public getSubType ( Newscoop\Search\DocumentInterface $user ) : string
$user Newscoop\Search\DocumentInterface
Résultat string identifier

getType() public méthode

Return type for this search service
public getType ( ) : string
Résultat string identifier

isIndexable() public méthode

Test if user can be indexed
public isIndexable ( Newscoop\Search\DocumentInterface $user ) : boolean
$user Newscoop\Search\DocumentInterface
Résultat boolean

isIndexed() public méthode

Test if user is indexed
public isIndexed ( Newscoop\Search\DocumentInterface $user ) : boolean
$user Newscoop\Search\DocumentInterface
Résultat boolean

Property Details

$imageService protected_oe property

protected ImageService,Newscoop\Image $imageService
Résultat Newscoop\Image\ImageService