PHP 클래스 Sulu\Bundle\MediaBundle\Controller\MediaPreviewController

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

공개 메소드들

메소드 설명
deleteAction ( $id, Request $request ) : Response Removes current preview image and sets default video thumbnail.
postAction ( integer $id, Request $request ) : Response Creates a new preview image and saves it to the provided media.

메소드 상세

deleteAction() 공개 메소드

Removes current preview image and sets default video thumbnail.
public deleteAction ( $id, Request $request ) : Response
$id
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

postAction() 공개 메소드

Creates a new preview image and saves it to the provided media.
public postAction ( integer $id, Request $request ) : Response
$id integer
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response