PHP Class Sulu\Bundle\MediaBundle\Controller\AbstractMediaController

Inheritance: extends Sulu\Component\Rest\RestController
Afficher le fichier Open project: sulu/sulu

Méthodes protégées

Méthode Description
getData ( Request $request, boolean $fallback = true ) : array
getFormatManager ( ) : Sulu\Bundle\MediaBundle\Media\FormatManager\FormatManagerInterface Returns format-manager.
getMediaManager ( ) : Sulu\Bundle\MediaBundle\Media\Manager\MediaManagerInterface Returns media-manager.
getTitleFromUpload ( Request $request ) : string
getUploadedFile ( Request $request, $name ) : Symfony\Component\HttpFoundation\File\UploadedFile

Method Details

getData() protected méthode

protected getData ( Request $request, boolean $fallback = true ) : array
$request Symfony\Component\HttpFoundation\Request
$fallback boolean
Résultat array

getFormatManager() protected méthode

Returns format-manager.
protected getFormatManager ( ) : Sulu\Bundle\MediaBundle\Media\FormatManager\FormatManagerInterface
Résultat Sulu\Bundle\MediaBundle\Media\FormatManager\FormatManagerInterface

getMediaManager() protected méthode

Returns media-manager.
protected getMediaManager ( ) : Sulu\Bundle\MediaBundle\Media\Manager\MediaManagerInterface
Résultat Sulu\Bundle\MediaBundle\Media\Manager\MediaManagerInterface

getTitleFromUpload() protected méthode

protected getTitleFromUpload ( Request $request ) : string
$request Symfony\Component\HttpFoundation\Request
Résultat string

getUploadedFile() protected méthode

protected getUploadedFile ( Request $request, $name ) : Symfony\Component\HttpFoundation\File\UploadedFile
$request Symfony\Component\HttpFoundation\Request
$name
Résultat Symfony\Component\HttpFoundation\File\UploadedFile