PHP 클래스 Sulu\Bundle\ContactBundle\Controller\AccountMediaController

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

공개 메소드들

메소드 설명
cgetAction ( $id, Request $request ) : Response Lists all media of an account optional parameter 'flat' calls listAction.
deleteAction ( $id, $slug ) : Response Removes a media from the relation to the account.
fieldsAction ( ) : Response Returns all fields that can be used by list.
postAction ( $id, Request $request ) : Response Adds a new media to the account.

비공개 메소드들

메소드 설명
getAccountEntityName ( )

메소드 상세

cgetAction() 공개 메소드

Lists all media of an account optional parameter 'flat' calls listAction.
public cgetAction ( $id, Request $request ) : Response
$id
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

deleteAction() 공개 메소드

Removes a media from the relation to the account.
public deleteAction ( $id, $slug ) : Response
$id - account id
$slug - media id
리턴 Symfony\Component\HttpFoundation\Response

fieldsAction() 공개 메소드

Returns all fields that can be used by list.
public fieldsAction ( ) : Response
리턴 Symfony\Component\HttpFoundation\Response

postAction() 공개 메소드

Adds a new media to the account.
public postAction ( $id, Request $request ) : Response
$id
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response