![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct ($extension) | |
transformUrlToFile ($url, Folder $targetFolder) | |
getOnlineMediaId (File $file) | |
getPublicUrl (File $file, $relativeToCurrentScript=false) | |
getPreviewImage (File $file) | |
getMetaData (File $file) | |
Interface OnlineMediaInterface
Definition at line 23 of file OnlineMediaHelperInterface.php.
__construct | ( | $extension | ) |
Constructor
string | $extension | file extension bind to the OnlineMedia helper |
Implemented in AbstractOnlineMediaHelper.
getMetaData | ( | File | $file | ) |
Get meta data for OnlineMedia item
See $GLOBALS[TCA][sys_file_metadata][columns] for possible fields to fill/use
File | $file |
Implemented in AbstractOEmbedHelper.
getOnlineMediaId | ( | File | $file | ) |
Get Online Media item id
File | $file |
Implemented in AbstractOnlineMediaHelper.
getPreviewImage | ( | File | $file | ) |
Get local absolute file path to preview image
Return an empty string when no preview image is available
File | $file |
Implemented in VimeoHelper, and YouTubeHelper.
getPublicUrl | ( | File | $file, |
$relativeToCurrentScript = false |
|||
) |
Get public url
Return NULL if you want to use core default behaviour
File | $file | |
bool | $relativeToCurrentScript |
Implemented in VimeoHelper, and YouTubeHelper.
transformUrlToFile | ( | $url, | |
Folder | $targetFolder | ||
) |
Try to transform given URL to a File
string | $url | |
Folder | $targetFolder |
Implemented in YouTubeHelper, and VimeoHelper.