PHP 클래스 Newscoop\Comment\SearchService

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

보호된 프로퍼티들

프로퍼티 타입 설명
$articleLinkService Newscoop\Article\LinkService
$em Doctrine\ORM\EntityManager

공개 메소드들

메소드 설명
__construct ( LinkService $articleLinkService, EntityManager $em )
getDocument ( Newscoop\Search\DocumentInterface $comment ) : array Get document for comment
getDocumentId ( Newscoop\Search\DocumentInterface $comment ) : string Get document id
getSubType ( Newscoop\Search\DocumentInterface $comment ) : string Return type for this search service
getType ( ) : string Return type for this search service
isIndexable ( Newscoop\Search\DocumentInterface $comment ) : boolean Test if comment can be indexed
isIndexed ( Newscoop\Search\DocumentInterface $comment ) : boolean Test if comment is indexed

메소드 상세

__construct() 공개 메소드

public __construct ( LinkService $articleLinkService, EntityManager $em )
$articleLinkService Newscoop\Article\LinkService
$em Doctrine\ORM\EntityManager

getDocument() 공개 메소드

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

getDocumentId() 공개 메소드

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

getSubType() 공개 메소드

Return type for this search service
public getSubType ( Newscoop\Search\DocumentInterface $comment ) : string
$comment Newscoop\Search\DocumentInterface
리턴 string identifier

getType() 공개 메소드

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

isIndexable() 공개 메소드

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

isIndexed() 공개 메소드

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

프로퍼티 상세

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

protected LinkService,Newscoop\Article $articleLinkService
리턴 Newscoop\Article\LinkService

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

protected EntityManager,Doctrine\ORM $em
리턴 Doctrine\ORM\EntityManager