public function Playlist::clearCache in MediaFront 7
Same name and namespace in other branches
- 6.2 players/osmplayer/player/playlist/Playlist.php \Playlist::clearCache()
- 6 players/osmplayer/player/playlist/Playlist.php \Playlist::clearCache()
Clears the cache by simply deleting the generated XML file.
File
- players/
osmplayer/ player/ playlist/ Playlist.php, line 127
Class
- Playlist
- Playlist Class
Code
public function clearCache() {
unlink(dirname(__FILE__) . '/' . 'cache' . '/' . $this->playlist . '.xml');
}