PHP 클래스 Sulu\Bundle\SecurityBundle\Controller\RoleSettingController

상속: extends Sulu\Component\Rest\RestController, implements FOS\RestBundle\Routing\ClassResourceInterface
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
getAction ( integer $roleId, string $key ) : Response Returns value for given role-setting.
putAction ( Request $request, integer $roleId, string $key ) : Response Save role-setting with value from request body.

메소드 상세

getAction() 공개 메소드

Returns value for given role-setting.
public getAction ( integer $roleId, string $key ) : Response
$roleId integer
$key string
리턴 Symfony\Component\HttpFoundation\Response

putAction() 공개 메소드

Save role-setting with value from request body.
public putAction ( Request $request, integer $roleId, string $key ) : Response
$request Symfony\Component\HttpFoundation\Request
$roleId integer
$key string
리턴 Symfony\Component\HttpFoundation\Response