PHP 클래스 Wallabag\ApiBundle\Controller\TagRestController

상속: extends WallabagRestController
파일 보기 프로젝트 열기: wallabag/wallabag

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
cleanOrphanTag ( Wallabag\CoreBundle\Entity\Tag | array $tags ) Remove orphan tag in case no entries are associated to it.

메소드 상세

deleteTagAction() 공개 메소드

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

deleteTagLabelAction() 공개 메소드

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

deleteTagsLabelAction() 공개 메소드

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

getTagsAction() 공개 메소드

Retrieve all tags.
public getTagsAction ( ) : Symfony\Component\HttpFoundation\JsonResponse
리턴 Symfony\Component\HttpFoundation\JsonResponse

getVersionAction() 공개 메소드

Retrieve version number.
public getVersionAction ( ) : Symfony\Component\HttpFoundation\JsonResponse
리턴 Symfony\Component\HttpFoundation\JsonResponse