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 |
|