Method |
Description |
|
countByAuthor ( User $user ) : integer |
Get articles count for user if is author. |
|
getArticle ( integer $number, mixed[int | string] $language = null ) : Doctrine\ORM\Query |
Get Single Article. |
|
getArticleTranslations ( integer $articleNumber, integer $languageId ) : Doctrine\ORM\Query |
Get Article translations. |
|
getArticles ( integer $publication, string $type = null, integer $language = null, $issue = null ) : Doctrine\ORM\Query |
Get All Articles from choosen publication (optional: article type and language). |
|
getArticlesByCriteria ( $articleSearchCriteria, $ids = [], $onlyPublished = true, $order = 'desc' ) |
|
|
getArticlesCountForPublication ( integer $publicationId ) : Doctrine\ORM\Query |
Get number of articles assigned to Publication. |
|
getArticlesForAuthor ( Author $author, Criteria $criteria ) : Doctrine\ORM\Query |
Get Articles for author. |
|
getArticlesForAuthorPerDay ( Author $author, string $range = '-60 days' ) : Doctrine\ORM\Query |
Get Articles for author per day for choosen period back from now. |
|
getArticlesForPlaylist ( integer $publication, integer $playlistId ) : Doctrine\ORM\Query |
Get Articles for Playlist. |
|
getArticlesForSection ( integer $publication, integer $sectionNumber, Language | null $sectionLanguage = null ) : Doctrine\ORM\Query |
Get Articles for chosen section. |
|
getArticlesForTopic ( integer $publication, integer $topicId, integer $language = false, boolean $getResultAndCount = false, $order = null ) : Doctrine\ORM\Query |
Get Articles for choosen topic. |
|
getBatch ( integer $count = self::BATCH_COUNT, array $filter = null ) : array |
Get articles for indexing. |
|
getIndexBatch ( integer $limit = 50 ) : array |
Get articles for indexing. |
|
getMinArticleOrder ( integer $publication = null, integer $issue = null, integer $section = null ) : Doctrine\ORM\Query |
Get new minimal article order value. |
|
searchArticles ( $articleSearchCriteria, boolean $onlyPublished = true, $order = 'desc' ) : Doctrine\ORM\Query |
Search fo articles by keyword and filters. |
|
setIndexedNow ( array $articles ) |
Set indexed now. |
|
setIndexedNull ( array $articles = null ) |
Set indexed null. |
|
updateArticleOrder ( integer $increment, integer $publication = null, integer $issue = null, integer $section = null ) : Doctrine\ORM\Query |
Update article order. |
|