getArticleAuthorAction()
публичный метод
Get single article author
getArticleAuthorsAction()
публичный метод
setArticleAuthorsOrderAction()
публичный метод
New order must be send with form in this format
order={authorId}-{authorType},{authorId}-{authorType},{authorId}-{authorType},{authorId}-{authorType}
example:
order=7-1,8-1,5-2,4-2
All article author-author type pair must be send.
updateArticleAuthorAction()
публичный метод
To update currently assigned article author you need provide his old and new article
type, it can be done with special link header value:
,
example:
**To update artile author with number 7 and type 1 to type 2 you need to send**:
[POST] /articles/{number}/{language}/authors/7
**With header link and his value:**
,
public updateArticleAuthorAction ( Request $request, $number, $language, $authorId ) |
$request |
Symfony\Component\HttpFoundation\Request |
|