TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
OnlineMediaHelperRegistry Class Reference
Inheritance diagram for OnlineMediaHelperRegistry:
SingletonInterface

Public Member Functions

 getOnlineMediaHelper (File $file)
 
 getSupportedFileExtensions ()
 

Static Public Member Functions

static getInstance ()
 

Detailed Description

Online Media Source Registry

Definition at line 24 of file OnlineMediaHelperRegistry.php.

Member Function Documentation

getOnlineMediaHelper ( File  $file)

Get helper class for given File

Parameters
File$file
Returns
bool|OnlineMediaHelperInterface

Definition at line 42 of file OnlineMediaHelperRegistry.php.

References $GLOBALS, AbstractFile\getExtension(), and GeneralUtility\makeInstance().

getSupportedFileExtensions ( )

Get all file extensions that have a OnlineMediaHelper

Returns
string[]

Definition at line 81 of file OnlineMediaHelperRegistry.php.

References $GLOBALS.