Свойство | Тип | Описание | |
---|---|---|---|
$em |
Метод | Описание | |
---|---|---|
__construct ( |
||
addArticle ( |
Add new related article to related articles container | |
getRelatedArticles ( |
Get related articles for article | |
removeRelatedArticle ( |
Remove related article from related articles container |
Метод | Описание | |
---|---|---|
createRelatedArticlesBox ( $article ) | ||
findRelatedArticlesBox ( $article ) | ||
initOrderOnRelatedArticles ( $relatedArticles ) | ||
positionRelateArticle ( $relatedArticles, $relatedArticle, $position ) | ||
reorderAfterRemove ( $relatedArticles, $removedRelatedArticlePosition ) |
public __construct ( |
||
$em |
public addArticle ( |
||
$article | ||
$articleToAdd | ||
$position | integer | |
Результат | boolean |
public getRelatedArticles ( |
||
$article |
public removeRelatedArticle ( |
||
$article | ||
$articleToRemove | ||
Результат | boolean |