PHP Class Wallabag\ApiBundle\Controller\TagRestController

Inheritance: extends WallabagRestController
Afficher le fichier Open project: wallabag/wallabag

Méthodes publiques

Méthode Description
deleteTagAction ( Wallabag\CoreBundle\Entity\Tag $tag ) : Symfony\Component\HttpFoundation\JsonResponse Permanently remove one tag from **every** entry.
deleteTagLabelAction ( Request $request ) : Symfony\Component\HttpFoundation\JsonResponse Permanently remove one tag from **every** entry.
deleteTagsLabelAction ( Request $request ) : Symfony\Component\HttpFoundation\JsonResponse Permanently remove some tags from **every** entry.
getTagsAction ( ) : Symfony\Component\HttpFoundation\JsonResponse Retrieve all tags.
getVersionAction ( ) : Symfony\Component\HttpFoundation\JsonResponse Retrieve version number.

Private Methods

Méthode Description
cleanOrphanTag ( Wallabag\CoreBundle\Entity\Tag | array $tags ) Remove orphan tag in case no entries are associated to it.

Method Details

deleteTagAction() public méthode

Permanently remove one tag from **every** entry.
public deleteTagAction ( Wallabag\CoreBundle\Entity\Tag $tag ) : Symfony\Component\HttpFoundation\JsonResponse
$tag Wallabag\CoreBundle\Entity\Tag
Résultat Symfony\Component\HttpFoundation\JsonResponse

deleteTagLabelAction() public méthode

Permanently remove one tag from **every** entry.
public deleteTagLabelAction ( Request $request ) : Symfony\Component\HttpFoundation\JsonResponse
$request Symfony\Component\HttpFoundation\Request
Résultat Symfony\Component\HttpFoundation\JsonResponse

deleteTagsLabelAction() public méthode

Permanently remove some tags from **every** entry.
public deleteTagsLabelAction ( Request $request ) : Symfony\Component\HttpFoundation\JsonResponse
$request Symfony\Component\HttpFoundation\Request
Résultat Symfony\Component\HttpFoundation\JsonResponse

getTagsAction() public méthode

Retrieve all tags.
public getTagsAction ( ) : Symfony\Component\HttpFoundation\JsonResponse
Résultat Symfony\Component\HttpFoundation\JsonResponse

getVersionAction() public méthode

Retrieve version number.
public getVersionAction ( ) : Symfony\Component\HttpFoundation\JsonResponse
Résultat Symfony\Component\HttpFoundation\JsonResponse