private function Playlist::get_file_ext in MediaFront 7
Same name and namespace in other branches
- 6.2 players/osmplayer/player/playlist/Playlist.php \Playlist::get_file_ext()
- 6 players/osmplayer/player/playlist/Playlist.php \Playlist::get_file_ext()
Gets the file extension of any given file..
Return value
- The file to get the extension of.
2 calls to Playlist::get_file_ext()
- Playlist::getMimeType in players/
osmplayer/ player/ playlist/ Playlist.php - Gets the mime type of a file.
- Playlist::get_media_files in players/
osmplayer/ player/ playlist/ Playlist.php - Recursive directory searcher to locate any media and image files within any given path.
File
- players/
osmplayer/ player/ playlist/ Playlist.php, line 277
Class
- Playlist
- Playlist Class
Code
private function get_file_ext($file) {
return strtolower(substr($file, strrpos($file, '.') + 1));
}