PHP 클래스 Newscoop\GimmeBundle\Controller\AttachmentsController

상속: extends FOS\RestBundle\Controller\FOSRestController
파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
createAttachmentAction ( Request $request ) : Form Create new attachment
deleteAttachmentAction ( Request $request, $number ) : Form Delete image
getAttachmentAction ( Request $request, $number ) : Form Get attachment
getAttachmentsAction ( Request $request ) : array Get all attachments
updateAttachmentAction ( Request $request, $number ) : Form Update attachment

비공개 메소드들

메소드 설명
processForm ( Request $request, integer $attachment = null ) : Form Process attachment form

메소드 상세

createAttachmentAction() 공개 메소드

Create new attachment
public createAttachmentAction ( Request $request ) : Form
$request Symfony\Component\HttpFoundation\Request
리턴 Form

deleteAttachmentAction() 공개 메소드

Delete image
public deleteAttachmentAction ( Request $request, $number ) : Form
$request Symfony\Component\HttpFoundation\Request
리턴 Form

getAttachmentAction() 공개 메소드

Get attachment
public getAttachmentAction ( Request $request, $number ) : Form
$request Symfony\Component\HttpFoundation\Request
리턴 Form

getAttachmentsAction() 공개 메소드

Get all attachments
public getAttachmentsAction ( Request $request ) : array
$request Symfony\Component\HttpFoundation\Request
리턴 array

updateAttachmentAction() 공개 메소드

Update attachment
public updateAttachmentAction ( Request $request, $number ) : Form
$request Symfony\Component\HttpFoundation\Request
리턴 Form