PHP Class PartKeepr\UploadedFileBundle\Controller\FileController

Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
Afficher le fichier Open project: partkeepr/PartKeepr

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
getEntityClass ( ) : string Returns the entity class (FQDN) for operation.

Method Details

getEntityClass() abstract protected méthode

Returns the entity class (FQDN) for operation.
abstract protected getEntityClass ( ) : string
Résultat string

getFileAction() public méthode

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

getMimeTypeIconAction() public méthode

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