PHP Class Sulu\Bundle\MediaBundle\Controller\AbstractMediaController

Inheritance: extends Sulu\Component\Rest\RestController
Datei anzeigen Open project: sulu/sulu

Protected Methods

Method 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 method

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

getFormatManager() protected method

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

getMediaManager() protected method

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

getTitleFromUpload() protected method

protected getTitleFromUpload ( Request $request ) : string
$request Symfony\Component\HttpFoundation\Request
return string

getUploadedFile() protected method

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