PHP 클래스 PartKeepr\UploadedFileBundle\Controller\FileController

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

공개 메소드들

메소드 설명
getFileAction ( integer $id ) : Response Returns the file. Directly sends the response to the browser.
getMimeTypeIconAction ( integer $id ) : Response Returns the mimetype icon for an uploaded file.

보호된 메소드들

메소드 설명
getEntityClass ( ) : string Returns the entity class (FQDN) for operation.

메소드 상세

getEntityClass() 추상적인 보호된 메소드

Returns the entity class (FQDN) for operation.
abstract protected getEntityClass ( ) : string
리턴 string

getFileAction() 공개 메소드

Returns the file. Directly sends the response to the browser.
public getFileAction ( integer $id ) : Response
$id integer The ID of the file
리턴 Symfony\Component\HttpFoundation\Response

getMimeTypeIconAction() 공개 메소드

Returns the mimetype icon for an uploaded file.
public getMimeTypeIconAction ( integer $id ) : Response
$id integer The ID of the entity
리턴 Symfony\Component\HttpFoundation\Response