Свойство | Тип | Описание | |
---|---|---|---|
$config | array | ||
$em | |||
$linkService | |||
$renditionService | |||
$switches | array | ||
$webcoder | Newscoop\Webcode\Mapper |
Метод | Описание | |
---|---|---|
__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 ) |
Метод | Описание | |
---|---|---|
addDataFields ( array $doc, $article ) : array | Add field properties to document |
public __construct ( |
||
$webcoder | ||
$renditionService | ||
$linkService | ||
$em |
public getArticleDatetime ( |
||
$article | ||
Результат | ArticleDatetime |
public getArticleSwitches ( |
||
$article | ||
Результат | array |
public getDocument ( Newscoop\Search\DocumentInterface $article ) : array | ||
$article | Newscoop\Search\DocumentInterface | |
Результат | array |
public getDocumentId ( Newscoop\Search\DocumentInterface $article ) : string | ||
$article | Newscoop\Search\DocumentInterface | |
Результат | string |
public getSubType ( Newscoop\Search\DocumentInterface $article ) : string | ||
$article | Newscoop\Search\DocumentInterface | |
Результат | string | identifier |
public isIndexable ( Newscoop\Search\DocumentInterface $article ) : boolean | ||
$article | Newscoop\Search\DocumentInterface | |
Результат | boolean |
public searchArticles ( $articleSearchCriteria, $onlyPublished = true ) |
protected EntityManager,Doctrine\ORM $em | ||
Результат |
protected LinkService,Newscoop\Article $linkService | ||
Результат |
protected RenditionService,Newscoop\Image $renditionService | ||
Результат |