PHP Class Newscoop\NewscoopBundle\Controller\TopicsController

Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
Afficher le fichier Open project: sourcefabric/newscoop

Méthodes publiques

Méthode Description
addAction ( Request $request )
addTranslation ( Request $request, $id )
attachTopicAction ( Request $request )
deleteAction ( Request $request, $id )
deleteTranslationAction ( Request $request, $id )
detachTopicAction ( Request $request )
editAction ( Request $request, $id )
findOr404 ( $id )
getTopicsAction ( Request $request )
indexAction ( $compactView = false, $articleNumber = null, $language = null )
isAttachedAction ( Request $request, $id )
moveAction ( Request $request, $id )
treeAction ( Request $request )

Private Methods

Méthode Description
getArticleTopicsIds ( string $articleNumber ) : array Get Article Topics.
setAttachedKeysForArticleTopics ( array $nodes, string $articleNumber ) : array Adds "attached" and "hasAttachedSubtopic" keys with values to the array of the topic;.

Method Details

addAction() public méthode

public addAction ( Request $request )
$request Symfony\Component\HttpFoundation\Request

addTranslation() public méthode

public addTranslation ( Request $request, $id )
$request Symfony\Component\HttpFoundation\Request

attachTopicAction() public méthode

public attachTopicAction ( Request $request )
$request Symfony\Component\HttpFoundation\Request

deleteAction() public méthode

public deleteAction ( Request $request, $id )
$request Symfony\Component\HttpFoundation\Request

deleteTranslationAction() public méthode

public deleteTranslationAction ( Request $request, $id )
$request Symfony\Component\HttpFoundation\Request

detachTopicAction() public méthode

public detachTopicAction ( Request $request )
$request Symfony\Component\HttpFoundation\Request

editAction() public méthode

public editAction ( Request $request, $id )
$request Symfony\Component\HttpFoundation\Request

findOr404() public méthode

public findOr404 ( $id )

getTopicsAction() public méthode

public getTopicsAction ( Request $request )
$request Symfony\Component\HttpFoundation\Request

indexAction() public méthode

public indexAction ( $compactView = false, $articleNumber = null, $language = null )

isAttachedAction() public méthode

public isAttachedAction ( Request $request, $id )
$request Symfony\Component\HttpFoundation\Request

moveAction() public méthode

public moveAction ( Request $request, $id )
$request Symfony\Component\HttpFoundation\Request

treeAction() public méthode

public treeAction ( Request $request )
$request Symfony\Component\HttpFoundation\Request