PHP 클래스 Wallabag\CoreBundle\Controller\ConfigController

상속: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
파일 보기 프로젝트 열기: wallabag/wallabag

공개 메소드들

메소드 설명
deleteTaggingRuleAction ( Wallabag\CoreBundle\Entity\TaggingRule $rule ) : RedirectResponse Deletes a tagging rule and redirect to the config homepage.
editTaggingRuleAction ( Wallabag\CoreBundle\Entity\TaggingRule $rule ) : RedirectResponse Edit a tagging rule.
generateTokenAction ( Request $request ) : RedirectResponse | Symfony\Component\HttpFoundation\JsonResponse
indexAction ( Request $request )

비공개 메소드들

메소드 설명
getConfig ( ) : Config Retrieve config for the current user.
validateRuleAction ( Wallabag\CoreBundle\Entity\TaggingRule $rule ) Validate that a rule can be edited/deleted by the current user.

메소드 상세

deleteTaggingRuleAction() 공개 메소드

Deletes a tagging rule and redirect to the config homepage.
public deleteTaggingRuleAction ( Wallabag\CoreBundle\Entity\TaggingRule $rule ) : RedirectResponse
$rule Wallabag\CoreBundle\Entity\TaggingRule
리턴 Symfony\Component\HttpFoundation\RedirectResponse

editTaggingRuleAction() 공개 메소드

Edit a tagging rule.
public editTaggingRuleAction ( Wallabag\CoreBundle\Entity\TaggingRule $rule ) : RedirectResponse
$rule Wallabag\CoreBundle\Entity\TaggingRule
리턴 Symfony\Component\HttpFoundation\RedirectResponse

generateTokenAction() 공개 메소드

public generateTokenAction ( Request $request ) : RedirectResponse | Symfony\Component\HttpFoundation\JsonResponse
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\JsonResponse

indexAction() 공개 메소드

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