PHP 클래스 Newscoop\User\SearchService

상속: implements Newscoop\Search\ServiceInterface
파일 보기 프로젝트 열기: sourcefabric/newscoop

보호된 프로퍼티들

프로퍼티 타입 설명
$imageService Newscoop\Image\ImageService

공개 메소드들

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

메소드 상세

__construct() 공개 메소드

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

getDocument() 공개 메소드

Get document representation for user
public getDocument ( Newscoop\Search\DocumentInterface $user ) : array
$user Newscoop\Search\DocumentInterface
리턴 array

getDocumentId() 공개 메소드

Get document id
public getDocumentId ( Newscoop\Search\DocumentInterface $user ) : string
$user Newscoop\Search\DocumentInterface
리턴 string

getSubType() 공개 메소드

Return sub type for the document
public getSubType ( Newscoop\Search\DocumentInterface $user ) : string
$user Newscoop\Search\DocumentInterface
리턴 string identifier

getType() 공개 메소드

Return type for this search service
public getType ( ) : string
리턴 string identifier

isIndexable() 공개 메소드

Test if user can be indexed
public isIndexable ( Newscoop\Search\DocumentInterface $user ) : boolean
$user Newscoop\Search\DocumentInterface
리턴 boolean

isIndexed() 공개 메소드

Test if user is indexed
public isIndexed ( Newscoop\Search\DocumentInterface $user ) : boolean
$user Newscoop\Search\DocumentInterface
리턴 boolean

프로퍼티 상세

$imageService 보호되어 있는 프로퍼티

protected ImageService,Newscoop\Image $imageService
리턴 Newscoop\Image\ImageService