PHP 인터페이스 Newscoop\Search\ServiceInterface

Provides an interface for Search services
파일 보기 프로젝트 열기: sourcefabric/newscoop 0 사용 예제들

공개 메소드들

메소드 설명
getDocument ( Newscoop\Search\DocumentInterface $item ) : array Get document for item
getDocumentId ( Newscoop\Search\DocumentInterface $item ) : string Get document id
getSubType ( Newscoop\Search\DocumentInterface $item ) : string Get the subtype of the item
getType ( ) : string Get the type of the item
isIndexable ( Newscoop\Search\DocumentInterface $item ) : boolean Test if item can be indexed
isIndexed ( Newscoop\Search\DocumentInterface $item ) : boolean Test if item is indexed

메소드 상세

getDocument() 공개 메소드

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

getDocumentId() 공개 메소드

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

getSubType() 공개 메소드

Get the subtype of the item
public getSubType ( Newscoop\Search\DocumentInterface $item ) : string
$item Newscoop\Search\DocumentInterface
리턴 string identifier for subtype

getType() 공개 메소드

Get the type of the item
public getType ( ) : string
리턴 string identifier for type

isIndexable() 공개 메소드

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

isIndexed() 공개 메소드

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