Property | Type | Description | |
---|---|---|---|
$config | array | ||
$em | |||
$linkService | |||
$renditionService | |||
$switches | array | ||
$webcoder | Newscoop\Webcode\Mapper |
Method | Description | |
---|---|---|
__construct ( |
||
getArticleDatetime ( |
Get event article datetime | |
getArticleSwitches ( |
Get article switches | |
getDocument ( Newscoop\Search\DocumentInterface $article ) : array | Get document representation for article | |
getDocumentId ( Newscoop\Search\DocumentInterface $article ) : string | Get document id | |
getSubType ( Newscoop\Search\DocumentInterface $article ) : string | Return sub type for the document | |
getType ( ) : string | Return type for this search service | |
isIndexable ( Newscoop\Search\DocumentInterface $article ) : boolean | Test if article can be indexed | |
isIndexed ( Newscoop\Search\DocumentInterface $article ) : boolean | Test if article is indexed | |
searchArticles ( $articleSearchCriteria, $onlyPublished = true ) |
Method | Description | |
---|---|---|
addDataFields ( array $doc, $article ) : array | Add field properties to document |
public __construct ( |
||
$webcoder | ||
$renditionService | ||
$linkService | ||
$em |
public getArticleDatetime ( |
||
$article | ||
return | ArticleDatetime |
public getArticleSwitches ( |
||
$article | ||
return | array |
public getDocument ( Newscoop\Search\DocumentInterface $article ) : array | ||
$article | Newscoop\Search\DocumentInterface | |
return | array |
public getDocumentId ( Newscoop\Search\DocumentInterface $article ) : string | ||
$article | Newscoop\Search\DocumentInterface | |
return | string |
public getSubType ( Newscoop\Search\DocumentInterface $article ) : string | ||
$article | Newscoop\Search\DocumentInterface | |
return | string | identifier |
public isIndexable ( Newscoop\Search\DocumentInterface $article ) : boolean | ||
$article | Newscoop\Search\DocumentInterface | |
return | boolean |
public searchArticles ( $articleSearchCriteria, $onlyPublished = true ) |
protected LinkService,Newscoop\Article $linkService | ||
return |
protected RenditionService,Newscoop\Image $renditionService | ||
return |