changeArticleStatus()
публичный Метод
public changeArticleStatus ( Request $request, $number, $language, $status ) |
$request |
Symfony\Component\HttpFoundation\Request |
|
createArticleAction()
публичный Метод
public createArticleAction ( Request $request ) |
$request |
Symfony\Component\HttpFoundation\Request |
|
getArticleAction()
публичный Метод
public getArticleAction ( Request $request, $number, $language = null ) : Article |
$request |
Symfony\Component\HttpFoundation\Request |
|
Результат |
Article |
|
getArticlePlaylistsAction()
публичный Метод
getArticlesAction()
публичный Метод
linkArticleAction()
публичный Метод
**article authors headers**:
header name: "link"
header value: ","
**attachments headers**:
header name: "link"
header value: ""
**images headers**:
header name: "link"
header value: ""
**topics headers**:
header name: "link"
header value: ""
**related articles headers**:
header name: "link"
header value: ""
or with specific language
header value: ""
you can also specify position on list
header value: ",<1; rel="article-position">"
public linkArticleAction ( Request $request, $number, $language = null ) : Article |
$request |
Symfony\Component\HttpFoundation\Request |
|
Результат |
Article |
|
lockUnlockArticle()
публичный Метод
public lockUnlockArticle ( Request $request, $number, $language ) |
$request |
Symfony\Component\HttpFoundation\Request |
|
patchArticleAction()
публичный Метод
Additional form aparameters:
fields: array with article type fields and ther values.
article[fields][lead] = 'new lead'
public patchArticleAction ( Request $request, $number, $language ) |
$request |
Symfony\Component\HttpFoundation\Request |
|
searchArticlesAction()
публичный Метод
Parameter 'query' contains keywords seperated with ",". Example: test,article,keyword3
unlinkArticleAction()
публичный Метод
**article authors headers**:
header name: "link"
header value: ","
**attachments headers**:
header name: "link"
header value: ""
**images headers**:
header name: "link"
header value: ""
**topics headers**:
header name: "link"
header value: ""
**related articles headers**:
header name: "link"
header value: ""
or with specific language
header value: ""
**slideshows headers**:
header name: "link"
header value: ""
public unlinkArticleAction ( Request $request, $number, $language = null ) : Article |
$request |
Symfony\Component\HttpFoundation\Request |
|
Результат |
Article |
|